Environment Variables Settings
Environment Variables Settings
env key in settings.json, applied to every session — useful for secrets, tool config, feature flags:
"env": {
"NODE_ENV": "development",
"LOG_LEVEL": "info",
"MY_INTERNAL_ENDPOINT": "https://api.internal.company.com"
}
Related: Claude Code Settings