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.