I wasn't even aware that was possible. I will IMMEDIATELY do this.
The mere fact this is necessary to stop their data-fiending is disgusting.
You prepend it everytime you run Claude or do you slap that into an .env file?
You could instead eg:
alias code='DISABLE_AUTOUPDATER=1 IS_DEMO=1 /usr/local/bin/code'
or write a wrapper shell script (analyse/adjust $PATH if you're going to name it the same as an existing binary/script), eg #!/bin/bash
export FOO=bar
exec /usr/local/bin/codeI frequently use Claude code in disposable virtual machines.
> I wasn't even aware that was possible.
That's why you should always read the manual! These aren't hidden and secret settings:https://code.claude.com/docs/en/settings
And, if you really hate manuals, you can just ask Claude to write the settings for you =D
Every time you run it, it uploads most of your project's code to Anthropic's server. That's just how this category of product works. If you're disgusted by a survey...