Source Intelligence
Sweep 28 Aug 2026 · 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

29 pages for claude_config_dir.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …| Relocate with `CLAUDE_CONFIG_DIR` in `env`… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …| `~/.claude/projects/`, or the `projects/` directory under `CLAUDE_CONFIG_DIR` if set | | `CLAUDE.md` memory files | `~/.claude/CLAUDE.md` for the user tier and the session's… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …NAME`](/docs/en/sessions#name-the-project-directory-yourself) beside `CLAUDE_CONFIG_DIR` in a query's [`env` option](/docs/en/agent-sdk/typescript#options), the SDK keys that query's entries, and its… Work with sessions Claude Code CLI · in the page agent-sdk/sessions …ons under `~/.claude/projects/<encoded-cwd>/*.jsonl`. If you set the `CLAUDE_CONFIG_DIR` environment variable, look under `$CLAUDE_CONFIG_DIR/projects/` instead. To find your session's directory, r… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …state is stored under your Claude Code config directory. If you set [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars), the supervisor uses that directory instead of `~/.claude` and runs as a separate instance… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …inned models. The wizard writes to `~/.claude/settings.json`, or to `$CLAUDE_CONFIG_DIR/settings.json` when [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars#variables) is set. ## Set up manually To configure… Authentication Claude Code CLI · in the page authentication …icts the file to your user account by default. * If you've set the `CLAUDE_CONFIG_DIR` environment variable on Linux or Windows, the `.credentials.json` file lives under that directory instead. *… Claude Code changelog Claude Code CLI · in the page changelog …e workflow save dialog showing `~/.claude/workflows/` instead of the `CLAUDE_CONFIG_DIR` location for user-scope saves * Fixed `/release-notes` adding the viewed notes to the model's context — "Show… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …eway runs as any user, but minimal images have no writable home. Set `CLAUDE_CONFIG_DIR` to a writable path such as `/tmp/.claude`. * **The container command**: `claude gateway --config /etc/claude/ga… Explore the .claude directory Claude Code CLI · in the page claude-directory …indows, `~/.claude` resolves to `%USERPROFILE%\.claude`. If you set [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars), every `~/.claude` path on this page lives under that directory instead. Most users only e… Debug your configuration Claude Code CLI · in the page debug-your-config …e against a session that loads nothing from your usual setup. Point [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars) at an empty directory to bypass everything under `~/.claude`, and launch from a directory t… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …sk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as th… Development containers Claude Code CLI · in the page devcontainer …n't keep you signed in. Mount a named volume at `~/.claude` and set [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars) to the same path so Claude Code writes `.claude.json` inside the volume. The following exa… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …inned models. The wizard writes to `~/.claude/settings.json`, or to `$CLAUDE_CONFIG_DIR/settings.json` when [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars#variables) is set. ## Region configuration Claude… JetBrains IDEs Claude Code CLI · in the page jetbrains …nt it as the `X-Claude-Code-Ide-Authorization` header to connect. If `CLAUDE_CONFIG_DIR` is set, the lock file is written to `$CLAUDE_CONFIG_DIR/ide/` instead. **Tools exposed to the model.** The ser… Gateway protocol reference Claude Code CLI · in the page llm-gateway-protocol …-models.json` on Windows, and refreshed on each startup. If you set [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars), the cache lives under that directory instead. If the request fails or the gateway doesn't… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …: your home directory, or a directory whose `.claude` you've set as [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars). Before v2.1.207, Claude Code applied approvals from an untracked `.claude/settings.local.j… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …de.json`, typically `C:\Users\YourName\.claude.json`. If you've set [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars), Claude Code reads `.claude.json` from inside that directory instead. Run `claude mcp get… How Claude remembers your project Claude Code CLI · in the page memory …NAME`](/docs/en/sessions#name-the-project-directory-yourself) beside `CLAUDE_CONFIG_DIR`, Claude Code uses that name as the `<project>` directory under `<config dir>/projects/` instead, whichever repo… Configure permissions Claude Code CLI · in the page permissions …irectory, or a directory whose `.claude` subdirectory you've set as [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars#variables). If that `CLAUDE_CONFIG_DIR` directory sits inside a git repository and Claude Co… Create and distribute a plugin marketplace Claude Code CLI · in the page plugin-marketplaces …d.exe` on Windows, from the configuration directory, `~/.claude` or [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars#variables). Give an absolute path or a command on `PATH`, because a relative path resolves a… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …a sandboxed command is running * **In `~/.claude`, or the directory `CLAUDE_CONFIG_DIR` points to**: most of its contents, plus `~/.claude.json` and the `.credentials.json` credential store If a sym… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …| | `CLAUDE_CONFIG_DIR` | Per-session Claude config directory, written at session start from the snapshot of the runner… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …ed into the runner's startup snapshot and seeded into each session's `CLAUDE_CONFIG_DIR`; changes on disk apply after a runner restart. Setting the variable also moves where the runner reads `.claude.… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …pe": "command", "timeout": 10, "command": "\"$CLAUDE_CONFIG_DIR/hooks/e2e-stop-hook-capture.sh\"" } ] } ] } } ``` ```sh theme={null} #!/bin/sh #… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …and `CLAUDE_CODE_OAUTH_TOKEN` * The configuration-directory selector `CLAUDE_CONFIG_DIR` * Credential-source and configuration-directory selectors, in Claude Code v2.1.223 or later: the Workload Ident… Manage sessions Claude Code CLI · in the page sessions …ff `~/.claude` | [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars) | Environment variable | | [Name the `<project>` directory… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …a `0700` directory, so only the user running VS Code can read it. If `CLAUDE_CONFIG_DIR` is set, the lock file is written to `$CLAUDE_CONFIG_DIR/ide/` instead. **Tools exposed to the model.** The ser… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …ectory: available in every project, visible only to you. If you set [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars), this location is the `workflows/` directory under that path. The save dialog shows the re…