261 pages for /settings.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Authentication
Claude Code CLI · in the page
authentication
…dministrator set [`forceLoginOrgUUID`](https://code.claude.com/docs/en/settings-reference#forceloginorguuid) in managed settings to [require logins from specific organizations](#restrict-login-to-your…
Auto mode classifier request charges
Claude Code CLI · in the page
auto-mode-classifier-billing
…r shell or in the [`env` settings key](https://code.claude.com/docs/en/settings-reference#env): ```bash theme={null} export CLAUDE_CODE_AUTO_MODE_SERVER=0 ``` Classifier requests are then always Cla…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…ompt. Add the rules in your [settings](https://code.claude.com/docs/en/settings.md#where-settings-live): ```json theme={null} { "permissions": { "ask": [ "Bash(git push *)", "Bash(g…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…e `Stop` hook version of the typecheck rule is a few lines in `.claude/settings.json`. Exit code 2 is what blocks the stop. Whatever the command prints to stderr goes back to Claude as the reason it c…
Claude Code changelog
Claude Code CLI · in the page
changelog
…ess ignoring the `autoCompactWindow` setting in the project's `.claude/settings.json` * Fixed `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE` staying in effect in a running session after it is removed from settings…
Push events into a running session with channels
Claude Code CLI · in the page
channels
…ability through two [managed settings](https://code.claude.com/docs/en/settings.md) that users cannot override. The default depends on how you authenticate: * **claude.ai Team and Enterprise**: chann…
Checkpointing
Claude Code CLI · in the page
checkpointing
…hots longer, set [`cleanupPeriodDays`](https://code.claude.com/docs/en/settings-reference#cleanupperioddays). ### Rewind and summarize Run `/rewind`, or press `Esc` twice when the prompt input is em…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…owed to read it, so [permission rules](https://code.claude.com/docs/en/settings-reference.md#permission-settings) that deny `Read` access to a file also block uploading it. * **Size**: a single upload…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…applies at the [managed settings tier](https://code.claude.com/docs/en/settings.md#settings-precedence). Different teams get different models, tools, and permissions, and a developer can't override wh…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…ies it serves, as the [`modelPricing`](https://code.claude.com/docs/en/settings-reference#modelpricing) managed setting. Developers matched by a policy then see the `pricing` rates in `/usage`, the s…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…at `/` and in the `x-cc-gateway-version` response header on `/managed/settings`, and what changed recently * **Login issue**: the developer runs `claude --debug-file ./claude-debug.txt`, reproduces,…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…created with [`worktree.sparsePaths`](https://code.claude.com/docs/en/settings-reference#worktree-sparsepaths). Start from the repository's main checkout instead. * **Git configuration kept inside th…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…al ones such as `settings.local.json` out of your commits. **`.claude/settings.json`** **When it loads**: Read at session start. Most edits [apply to the running session](https://code.claude.com/doc…
Claude Code with Claude Models on Google Cloud (Anthropic managed)
Claude Code CLI · in the page
claude-models-on-google-cloud-anthropic-managed
…nv` block of your [user settings file](https://code.claude.com/docs/en/settings.md), `~/.claude/settings.json`. If the file doesn't exist, create it with this content: ```json theme={null} { "env":…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…dd the command to your [settings file](https://code.claude.com/docs/en/settings.md), such as `~/.claude/settings.json`: ```json theme={null} { "awsAuthRefresh": "aws sso login --profile my-profile"…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…positories), but not the repositories' `.mcp.json` servers or `.claude/settings.json` hooks, permission rules, and `env` * The [connectors](#get-skills-plugins-connectors-and-tools-into-threads) on…
claude-tag
Claude Code CLI · in the page
claude-tag
…ttings map","sidebarTitle":"Settings map","href":"/claude-tag/concepts/settings-map"},{"title":"Set up a skills repository Claude can update","sidebarTitle":"Add custom skills","href":"/claude-tag/adm…
CLI reference
Claude Code CLI · in the page
cli-reference
…[`permissions.additionalDirectories`](https://code.claude.com/docs/en/settings-reference#permissions-additionaldirectories) in settings | `claude --add-dir ../apps ../lib` | | `--advisor <model>` | E…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…ronmentId` key in your [user settings](https://code.claude.com/docs/en/settings.md#where-settings-live), so it applies in every project on your machine until you change it, unless the same key is set…
Run tool calls from code with Code Mode
Claude Code CLI · in the page
code-mode
…e > ``` > [tab] settings.json > > Save this `env` block in `~/.claude/settings.json` and start `claude`: > > ```json theme={null} > { > "env": { > "CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "1" >…
Code Review
Claude Code CLI · in the page
code-review
…de-skill-visibility-from-settings) entry to a [settings file](/docs/en/settings#where-settings-live) such as `~/.claude/settings.json`: ```json theme={null} { "skillOverrides": { "code-review":…
Review locally with /code-review
Claude Code CLI · in the page
code-review-local
…m-settings) entry to a [settings file](https://code.claude.com/docs/en/settings.md#where-settings-live) such as `~/.claude/settings.json`: ```json theme={null} { "skillOverrides": { "code-revie…
Commands
Claude Code CLI · in the page
commands
…| Open the [Settings](/docs/en/settings) interface to adjust theme, model, [output style](/docs/en/output-styles), and other preferences. Pass one or more `key=…
Explore the context window
Claude Code CLI · in the page
context-window
…uires Claude Code v2.1.304 or later | | [Git status snapshot](/docs/en/settings-reference#includegitinstructions) | If the session started with one, Claude Code reads a fresh one from your repository…
Run Claude Code behind a corporate launcher
Claude Code CLI · in the page
corporate-launcher
…equivalent [`processWrapper` setting](https://code.claude.com/docs/en/settings-reference#processwrapper) requires v2.1.210 or later. Earlier versions ignore it as an unknown key, apply no launcher, a…
Manage costs effectively
Claude Code CLI · in the page
costs
…list price, unless a [`modelPricing`](https://code.claude.com/docs/en/settings-reference#modelpricing) table is in effect. An administrator sets one in your organization's managed settings so the fig…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…ession, or its [`crossSessionInbound`](https://code.claude.com/docs/en/settings-reference#crosssessioninbound) value is `refuse`. Claude Code refuses a message to that session before the message leave…
Data usage
Claude Code CLI · in the page
data-usage
…disabling, set [`feedbackSurveyRate`](https://code.claude.com/docs/en/settings-reference#feedbacksurveyrate) in your settings file to a probability between `0` and `1`. ### Data retention Anthropic…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…a given key, see [Settings precedence](https://code.claude.com/docs/en/settings.md#settings-precedence). ## Check MCP servers Run `/mcp` to see your servers and their connection status. A server can…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…y, set [`disableDeepLinkRegistration`](https://code.claude.com/docs/en/settings-reference#disabledeeplinkregistration) to `"disable"` in `settings.json`. To enforce this across an organization so user…
Desktop application
Claude Code CLI · in the page
desktop
…s.defaultMode` to your [settings file](https://code.claude.com/docs/en/settings.md#where-settings-live). A mode you pick in a local session is remembered per folder and outranks a `defaultMode` in the…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. When a run is stalled on a permission prompt, [find the run's session](#fin…
Development containers
Claude Code CLI · in the page
devcontainer
…ide that directory: [`~/.claude.json`](https://code.claude.com/docs/en/settings-reference#global-config-settings). To keep the directory and the file, mount a named volume at `~/.claude` and set [`CL…
Environment variables
Claude Code CLI · in the page
env-vars
…me behaviors can also be configured through a [settings file](/docs/en/settings) field, a [CLI flag](/docs/en/cli-reference), or an in-session command like `/model`. This page covers how to: * [Set…
Error reference
Claude Code CLI · in the page
errors
…nthropic` | [`enforceAnthropicSignIn`](https://code.claude.com/docs/en/settings-reference#enforceanthropicsignin) | | `This computer's managed settings require a sign-in to Anthropic` / `This computer…
Speed up responses with fast mode
Claude Code CLI · in the page
fast-mode
…e": true` in your [user settings file](https://code.claude.com/docs/en/settings.md). If you set it on any other model, you stay on that model with fast mode off. On Fable 5.2, that setting alone has n…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…ion. The CLI saves the [`tui` setting](https://code.claude.com/docs/en/settings-reference#tui) and relaunches into fullscreen. Run `/tui default` to switch back to the classic renderer, or `/tui` with…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…tup. It works from [any settings file](https://code.claude.com/docs/en/settings-reference.md#extraknownmarketplaces), including a repository's `.claude/settings.json`; managed settings deliver it orga…
Glossary
Claude Code CLI · in the page
glossary
…ompacts a conversation you leave idle](https://code.claude.com/docs/en/settings-reference.md#idlecompaction) ### Connector An [MCP server](#mcp-server) added to your claude.ai account rather than co…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…ies, or when [`allowManagedHooksOnly`](https://code.claude.com/docs/en/settings-reference#allowmanagedhooksonly) is set in managed settings. ## See also * [Run a prompt repeatedly with `/loop`](http…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…nv` block of your [user settings file](https://code.claude.com/docs/en/settings.md), so you don't need to export environment variables yourself. After you've signed in, run `/setup-vertex` any time t…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…ions.md#what-runs-before-you-trust-a-folder), but a hook in `~/.claude/settings.json` or an MCP server in the project's `.mcp.json` won't run. A directory you name with `--add-dir` is a special case:…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…pository](https://github.com/anthropics/claude-code/tree/main/examples/settings). #### What each key does The table shows what to set each key to and what Claude Code enforces for it. | Key | Set i…
Hooks reference
Claude Code CLI · in the page
hooks
…scope: | Location | Scope | Shareable | | :- | :- | :- | | `~/.claude/settings.json` | All your projects | No, local to your machine | | `.claude/settings.json` | Single project | Yes, can be committ…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…g the terminal. **1. Add the hook to your settings** Open `~/.claude/settings.json` and add a `Notification` hook. If the file doesn't exist, create it. The example below uses `osascript` for macOS;…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…attribution lines, set [`attribution`](https://code.claude.com/docs/en/settings-reference#attribution). To remove Claude Code's built-in commit and pull request instructions, set [`includeGitInstructi…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…61 and later. The [`keybindingFlavor`](https://code.claude.com/docs/en/settings-reference#keybindingflavor) setting that turned them on in earlier versions is deprecated and has no effect. You can't…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…an external terminal. See [`diffTool`](https://code.claude.com/docs/en/settings-reference#difftool) for the underlying setting. ### Plugin settings Configure the Claude Code plugin by going to **Set…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…is scoped to one package or subsystem | Project settings in `.claude/settings.json` aren't inherited from parent directories the way CLAUDE.md files are. For which directory's `.claude/settings.json…
Other LLM gateways
Claude Code CLI · in the page
llm-gateway
…hine may use, set [`allowedProviders`](https://code.claude.com/docs/en/settings-reference#allowedproviders) to `["customEndpoint"]` in the same managed settings file and put the gateway's `ANTHROPIC_B…