Manage Claude Code in the terminal from the Enterprise Admin Console changedthird-party/claude-desktop/admin-console-claude-code
Nearest release: v2.1.330, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 20 Nov 2026 22:35 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 20 Nov 2026 22:37 UTC.
Upstream edited
Recorded here
Lines+9added
Lines−8removed
From line
25
where the diff opens
First seen
19 Nov 2026
this site's first read of the page
Recorded edits4to this page, all time
The whole hunk
from line 25, old and new numbered
/
from line 25
2525
26261. **The developer's own settings files.**
27272. **Your console settings.** They arrive when the developer signs in to your organization.
283. **The computer's managed settings.** These are Claude Code settings that you deploy to the developer's computer: a `managed-settings.json` file, an MDM profile on macOS, or a registry policy on Windows. The configuration profile that you deploy for Claude Desktop doesn't count. Neither does a registry policy under `HKCU`, which a sign-in replaces.
283. **The computer's managed settings.** These are Claude Code settings that you deploy to the developer's computer: a `managed-settings.json` file, an MDM profile on macOS, or a registry policy on Windows. The configuration profile that you deploy for Claude Desktop doesn't count. A registry policy under `HKCU` doesn't count either. A sign-in replaces that policy's settings, except its retention period (`cleanupPeriodDays`).
2929
3030Each developer's computer has either:
3131
from line 44
4444* You're an Owner or Primary Owner of the organization
4545* You saved the **Connection** page under **Organization settings > Desktop 3P**
4646* Your developers are members of your organization, like your Claude Desktop users
47* Your developers have Claude Code 2.1.329 or later, and the same version of the VS Code extension. Earlier versions ignore the console.
47* Your developers have Claude Code 2.1.330 or later, and the same version of the VS Code extension. Earlier versions either ignore the console or drop more of the computer's settings after a sign-in.
4848* Your developers have access to your provider. The sign-in tells Claude Code where to send requests, but it doesn't give the developer access. With a cloud provider, each developer needs cloud credentials. With a gateway, each developer must be able to sign in to it.
4949* If your **Connection** page uses a helper script, you [installed it for Claude Code in the terminal](https://claude.com/docs/third-party/claude-desktop/credential-helper.md#install-the-helper-for-claude-code-in-the-terminal). A script that works in Claude Desktop can fail in the terminal.
5050* The developer's terminal can reach `api.anthropic.com` and `platform.claude.com`
from line 148
148148* **Hooks, and the plugins and MCP servers that you install for developers**: the console can't install them in the terminal
149149* **OpenTelemetry export (`CLAUDE_CODE_ENABLE_TELEMETRY` and the `OTEL_` variables)**: the console can't turn it on in the terminal, so your collector stops getting data from Claude Code. The console's OpenTelemetry fields export from Claude Desktop only.
150150* **`requiredMinimumVersion`, `cleanupPeriodDays`, `allowedProviders`, and the managed `CLAUDE.md` text**: the console has no place for these. Claude Code also ignores anything else that isn't on [the JSON's list](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code-reference.md#settings-that-claude-code-applies).
151* **A retention period (`cleanupPeriodDays`) that's set only under `HKCU\SOFTWARE\Policies\ClaudeCode` on Windows**: after a developer signs in, Claude Code ignores this period. Claude Code then uses the developer's own setting, or 30 days. The next cleanup permanently deletes session transcripts older than that. Before developers sign in, move the period to `HKLM\SOFTWARE\Policies\ClaudeCode` or to `managed-settings.json`. Then [name your organization in the same place](#keep-managed-settings-beside-the-console). If the computer also runs Claude Desktop on your provider, add `"parentSettingsBehavior": "merge"` there too.
152151* **`strictKnownMarketplaces`, `allowManagedPermissionRulesOnly`, `sandbox.filesystem.allowManagedReadPathsOnly`, and Auto mode's deny rules (`autoMode`)**: Claude Code ignores these in the JSON
153152* **A private address for your provider, such as a VPC endpoint**: your connection overrides it, even if you keep managed settings, so requests go to the provider's default address. To keep it, also fill in **Bedrock base URL**, or the same field for another cloud provider, on the **Connection** page. Claude Code in the terminal then uses the provider set on each computer, not your connection, so each computer must keep managed settings that set your provider and the private address.
154153
from line 186
187186```text wrap theme={null}
188187We now manage Claude Code from our admin console. Please sign in on each computer you use.
189188
1901. Install or update the claude command to 2.1.329 or later. If you use the VS Code extension, update it too.
1891. Install or update the claude command to 2.1.330 or later. If you use the VS Code extension, update it too.
1911902. <How to get credentials for our provider. How to set our proxy or certificate, if you need one.>
1921913. In your terminal, run: claude auth login
1931924. The browser may ask you to sign in with your email. Select <organization name> and click Authorize. If the browser shows a code, paste it into the terminal.
from line 289
290289{
291290 "forceLoginOrgUUID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
292291 "enforceAnthropicSignIn": true,
293 "requiredMinimumVersion": "2.1.329"
292 "requiredMinimumVersion": "2.1.330"
294293}
295294```
296295
297296* **`forceLoginOrgUUID`**: makes the computer follow your console and refuse other organizations, as described in [Keep managed settings beside the console](#keep-managed-settings-beside-the-console). By itself, it doesn't require the sign-in. A developer who isn't signed in can still start a session on a cloud provider. Ask developers to remove their Anthropic API keys first, because Claude Code doesn't start a session that has one.
298297* **`enforceAnthropicSignIn`**: a session on a cloud provider or a gateway starts only if the developer is signed in to your organization. Write `true` without quotation marks, or Claude Code doesn't start.
299* **`requiredMinimumVersion`**: blocks versions before 2.1.329, which ignore `enforceAnthropicSignIn`
298* **`requiredMinimumVersion`**: blocks earlier versions, including the ones that ignore `enforceAnthropicSignIn`
300299
301To test it, ask a developer who isn't signed in to run `claude`. Claude Code prints a message, `This computer's managed settings require a sign-in to Anthropic`, and exits. If Claude Code starts instead, check that its version is 2.1.329 or later, and that developers' accounts can read the file.
300If you set a retention period under `HKCU` on Windows, add it to this file as `cleanupPeriodDays`. Claude Code ignores `HKCU` once the computer has managed settings.
301
302To test it, ask a developer who isn't signed in to run `claude`. Claude Code prints a message, `This computer's managed settings require a sign-in to Anthropic`, and exits. If Claude Code starts instead, check that its version is 2.1.330 or later, and that developers' accounts can read the file.
302303
303304For other ways around your settings, see [Security considerations](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code-reference.md#security-considerations).
304305
No line in this hunk matches that.