Can I move Claude Code's config out of ~/.claude and ~/.claude.json?
Summary When you need Claude Code to use a non-default config directory, set CLAUDE_CONFIG_DIR in the launching shell or user/managed settings with an absolute path; project/local settings cannot select it, and Console sign-ins without API keys are outside the override.