top | item 46545268

(no title)

vemv | 1 month ago

I have all these set:

    export CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1
    export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
    export DISABLE_AUTOUPDATER=1
    # reduces splash screen size:
    export IS_DEMO=1

discuss

order

skaul|1 month ago

You can add these to your `~/.claude/settings.json`:

  "env": {
    "CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY": "1",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "DISABLE_AUTOUPDATER": "1",
    "IS_DEMO": "1"
  }

mmh0000|1 month ago

Ha! Great minds think alike! I posted the same thing 3 seconds slower =(

mmh0000|1 month ago

Just an FYI to several of the posters here.

You CAN set these as env vars in your shell, but I prefer to stick 'em in the Claude settings.json:

  $ cat ~/.claude/settings.json
  {
    "env": {
      "CLAUDE_CODE_DISABLE_TERMINAL_TITLE": "1",
      "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
    }
  }

This keeps your main environment from getting cluttered.

onesandofgrain|1 month ago

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?

vemv|1 month ago

These are good to append to your .bashrc or .zshrc (depending on your shell of choice) and they'll be picked up.

mmh0000|1 month ago

  > 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

immibis|1 month ago

> to stop their data-fiending

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...