Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

269 pages for login.

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

Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …eports the server's status as `needs-auth`. Sign in with [`claude mcp login <name>`](#authenticate-from-the-command-line) in your shell. Then start the run again or, in an Agent SDK session, [reconnec… How Claude remembers your project Claude Code CLI · in the page memory …ment variables and API provider routing | Managed settings: `env` | | Login method and organization restrictions | Managed settings: `forceLoginMethod`, `forceLoginOrgUUID` | | Code style and quality… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …rough the Azure SDK default credential chain, for example from an `az login` session, so there's no API key to store * [Bearer token](#use-a-bearer-token): another process obtains a Microsoft Entra ID… Model configuration Claude Code CLI · in the page model-config …he admin console also requires the session to fetch with an [eligible login](/docs/en/server-managed-settings.md#platform-availability) to your organization or an OAuth token issued for it. For fleets… Monitoring Claude Code CLI · in the page monitoring-usage …ass a value you set there to the SSH session * **You exported it in a login file**: only login shells read a file such as `/etc/profile`. A value you `export` there reaches Claude Code that you start… Overview Claude Code CLI · in the page overview …he key when Claude Code asks whether to use it, Claude Code skips the login prompt. [Continue with the Quickstart →](/docs/en/quickstart.md) > [!TIP] > > See [advanced setup](/docs/en/setup.md) for i… Choose a permission mode Claude Code CLI · in the page permission-modes …: * `.gitconfig`, `.gitmodules` * `.bashrc`, `.bash_profile`, `.bash_login`, `.bash_aliases`, `.bash_logout`, `.zshrc`, `.zprofile`, `.zshenv`, `.zlogin`, `.zlogout`, `.profile`, `.envrc` * `.npmrc`,… Configure permissions Claude Code CLI · in the page permissions …our-organization-enforces) on the machine, or a Team or Enterprise [`/login`](/docs/en/authentication#authentication-precedence) as the session's credential, these outcomes stay in place by default wh… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …stores works; one it would have to ask for fails. On GitHub, `gh auth login` followed by `gh auth setup-git` stores one. For a GitHub Enterprise Server host, users need git access to that host from t… Install and manage plugins Claude Code CLI · in the page plugins/install …your git credential helpers apply, so access you set up with `gh auth login`, the macOS Keychain, or `git-credential-store` works. Interactive prompts are suppressed, so a host you have never authenti… Plugin loading reference Claude Code CLI · in the page plugins/loading …ced plugins in these terminal sessions, even after you sign in with `/login`: * A session where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …rue: * The machine has managed settings * The session runs on [`/login` credentials](/docs/en/authentication#authentication-precedence) for a Team or Enterprise plan A user who authenticates w… Mods overview Claude Code CLI · in the page plugins/mods/overview ….md#check-what-your-organization-enforces) or a Team or Enterprise [`/login`](/docs/en/authentication#authentication-precedence) as the session's credential, by default a mod's approval doesn't get a… Mods reference Claude Code CLI · in the page plugins/mods/reference …settings, in a session whose credential isn't a Team or Enterprise `/login`. | Lists of plugin ids, such as `acme-guard@acme-tools`. Mods in `prependPlugins` run before every mod a user installs, and… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …settings, or in a session whose credential is a Team or Enterprise `/login`, the [built-in guard](/docs/en/plugins/mods/admin.md#know-what-happens-by-default) can refuse a mod or one of its answers.… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …ntial helper must hold a token for the host. For GitHub, run `gh auth login` and `gh auth setup-git`. For another host, store a personal access token in your git credential helper. Test with `git ls-r… Prompt library Claude Code CLI · in the page prompt-library …the {container} on {viewport}. fix it.', slots: { element: 'login button', amount: '20px', container: 'card border', viewport: 'mobile' }, nextHref: '/en/desktop#pr… Quickstart Claude Code CLI · in the page quickstart …he key when Claude Code asks whether to use it, Claude Code skips the login prompt. You can log in using any of these account types: * [Claude Pro, Max, Team, or Enterprise](https://claude.com/prici… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …i/admin-settings/roles). * **Authentication**: run `claude` and use `/login` to sign in through claude.ai if you haven't already. Without an eligible login, `claude remote-control` exits with an error… Automate work with scheduled tasks Claude Code CLI · in the page routines …, or Microsoft Foundry. `/schedule` requires a claude.ai subscription login. With a Console API key or a profile, and feature-flag fetching enabled, submitting `/schedule` instead shows `/schedule is… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …Such a credential can be a personal access token, the token `gh auth login` saves for your account, or a `GH_TOKEN` in the runner's environment. * **With [Anthropic-managed git](#use-the-anthropic-… Self-hosted environments quickstart Claude Code CLI · in the page self-hosted-environments-quickstart …gn-in**: run it on a machine where you've signed in with `claude auth login` using an account that holds an Owner role. With only an API key or a third-party model provider, the session starts but its… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …osted environment, using Stop-hook read-back. # Prereqs: `claude auth login` has been run on this machine (see "Authenticate # from CI" below); jq is installed; CLAUDE_TEST_ENVIRONMENT_ID names an # e… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …5 or later * **Gateway sign-in keys**: Claude Code never reads [`forceLoginGatewayUrl`](/docs/en/settings-reference#forcelogingatewayurl), [`gatewayInternalNetworks`](/docs/en/settings-reference#gatew… Claude Code settings Claude Code CLI · in the page settings …| | `forceLoginOrgUUID` | No organization is permitted to log in until the value is fixed.… Example settings files Claude Code CLI · in the page settings-example …ements and set your own values. The example sets these keys: * `forceLoginMethod` and `forceLoginOrgUUID` pin the login method and organization * `availableModels` and `enforceAvailableModels` restri… All settings Claude Code CLI · in the page settings-reference …w the input box | Interface and terminal | User or managed | | [`forceLoginGatewayUrl`](#forcelogingatewayurl) | Set the [gateway URL](/docs/en/claude-apps-gateway#set-the-gateway-url) the login scree… Advanced setup Claude Code CLI · in the page setup …er any issues during installation, see [Troubleshoot installation and login](/docs/en/troubleshoot-install.md). ### Set up on Windows You can run Claude Code natively on Windows or inside WSL. Pick… Extend Claude with skills Claude Code CLI · in the page skills …n these sessions: * A session that doesn't use a sign-in stored by `/login`, such as one that authenticates with an API key, or one where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `api… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …I, you can also run `claude` and select **3rd-party platform** at the login prompt to launch an interactive setup wizard. ## Configure proxies and gateways Most organizations can use a cloud provide… Tools reference Claude Code CLI · in the page tools-reference …-public-sharing). Requires a Pro, Max, Team, or Enterprise plan and `/login` authentication; see [Availability](/docs/en/artifacts.md#availability) | Yes | | `AskUserQuestion` | Asks multiple-choice q… Troubleshooting Claude Code CLI · in the page troubleshooting …s, PATH issues, `EACCES`, TLS errors | [Troubleshoot installation and login](/docs/en/troubleshoot-install.md) | | Update or install download fails with `The connection dropped while downloading the u… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …ic's infrastructure. If you are signed in with an API key only, run `/login` and authenticate with claude.ai first. Ultrareview is not available when using Claude Code with Amazon Bedrock, Google Clou… Voice dictation Claude Code CLI · in the page voice-dictation …count is your active sign-in. If you aren't signed in with one, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a [third-party provider](#requirements) is i… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …horization in your browser. If you see **Not logged in · Please run /login** later, the extension reopens the sign-in screen automatically. If it doesn't appear, reload the window from the Command Pa… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …the GitHub CLI if you haven't already: ```bash theme={null} gh auth login ``` **2. Sign in to Claude** In the Claude Code CLI, run `/login` to sign in with your claude.ai account. Skip this step i… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …'s Agent Platform](/docs/en/google-vertex-ai.md) setup wizards on the login screen: pick "3rd-party platform" for step-by-step auth, region, credential check, and model pinning`/agents` gets a tabbed… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …1, 2026 > Claude Code on Windows runs without Git Bash, claude auth login accepts a pasted OAuth code when the browser callback can't reach localhost, claude project purge cleans up local state per… Week 19 · May 4–8, 2026 Claude Code CLI · in the page whats-new/2026-w19 …no longer lost when multiple servers refresh concurrently, and a rare login loop from a concurrent credential write is fixedNew `parentSettingsBehavior` admin key lets admins opt SDK `managedSettings`… Week 20 · May 11–15, 2026 Claude Code CLI · in the page whats-new/2026-w20 …Helper`, or `ANTHROPIC_AUTH_TOKEN` is set, even alongside a claude.ai login; unset the API key to use these featuresMCP stdio servers now receive `CLAUDE_PROJECT_DIR` in their environment, matching ho… Week 21 · May 18–22, 2026 Claude Code CLI · in the page whats-new/2026-w21 …ommand requires signing in with your claude.ai subscription through `/login` and isn't available with API key authentication.New [`/code-review`](/docs/en/code-review) command reports correctness bugs… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …protected set covers shell startup files such as `.zshenv` and `.bash_login`, git config under `~/.config/git/`, and build-tool configs such as `.npmrc`, `.bazelrc`, and `.pre-commit-config.yaml`. The… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …–26, 2026 > Authenticate MCP servers from your shell with claude mcp login, get a response to shell mode command output with the ! prefix, and resume a conversation from before /clear with /rewind.… Week 27 · June 29 – July 3, 2026 Claude Code CLI · in the page whats-new/2026-w27 …licks through pages, fills forms, reads console logs, and shares your login state, so it can test the app it builds without you switching contexts. [Use Claude Code with Chrome](/docs/en/chrome.md)… Week 28 · July 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w28 …o the repo's configured push remote in addition to `origin`Gateway: `/login` now supports Anthropic-operated public gateway endpoints`EnterWorktree` asks for confirmation before entering a git worktre… Week 34 · August 17–21, 2026 Claude Code CLI · in the page whats-new/2026-w34 …b merge request, with the `glab` CLI authenticated through `glab auth login`, the footer shows an [`MR !N` badge](/docs/en/interactive-mode#gitlab-merge-requests) colored by whether the merge request… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …, and OpenTelemetry report cost at those rates instead of list price`/login` offers **Sign in with your Console account** under the **Anthropic Console account** option, so members of Console organiza… What's new Claude Code CLI · in the page whats-new/index …/whats-new/2026-w27.md) **Week 26** June 22–26, 2026 **`claude mcp login`**: authenticate a configured MCP server from your shell instead of the interactive `/mcp` menu, and clear its stored creden… Zero data retention Claude Code CLI · in the page zero-data-retention …those sessions are not covered. To require that developers' claude.ai logins belong to your ZDR organization, deploy the `forceLoginMethod` and `forceLoginOrgUUID` managed settings; see [Restrict logi… Admin controls Claude Documentation · in the page claude-science/admin-controls …er a machine they reach over SSH, such as a lab workstation or an HPC login node, so Claude can run jobs on it (see [Remote compute clusters](/docs/claude-science/remote-compute-clusters.md)). The **A…
Feedback