Enterprise Settings
These keys let an administrator control how managed settings arrive and which versions may run. They work in managed settings. For the places managed settings can come from, see the managed settings section of the index page.
Only use these keys if you manage a machine or organization. forceRemoteSettingsRefresh and wslInheritsWindowsSettings are switches.
Keys
Source: Settings Reference for rows marked Documented. For rows marked Undocumented, Source: the program (its bundled settings schema). Where to Set It tells you which files may set the key. See Settings Files and Scopes.
| Key | Status | Type | Default | What It Does | Where to Set It |
|---|---|---|---|---|---|
🔒 force | Documented | boolean | - | Block startup until server-managed settings are freshly fetched. Claude Code exits if the fetch fails. | Managed settings only |
managed | Documented | enum: first-, merge | - | Compose every managed source you deploy instead of using the highest-priority one alone. first- (the default) uses the highest source alone. merge combines them. | Managed settings only |
parent | Documented | enum: first-, merge | - | Apply or drop restrictions an SDK or IDE host passes when you deploy managed settings. first- drops the parent tier. merge unions it in. | Managed settings only |
🔒 policy | Documented | ❓ | - | Run an executable that computes managed settings at startup. Honored only from admin-controlled policy sources. | Managed settings only |
policy | Undocumented | ❓ | - | Give each platform its own policy helper: macos, linux, windows, wsl, or a static default payload. The first helper on the platform chain wins over policy. | Settings files |
🔒 required | Documented | string | - | Refuse to start on a version newer than your organization allows. Claude Code exits at startup with install steps. Managed settings only. | Managed settings only |
🔒 required | Documented | string | - | Refuse to start on a version older than your organization requires. Claude Code exits at startup with update steps. Managed settings only. | Managed settings only |
wsl | Documented | boolean | - | Have WSL read managed settings from the Windows policy chain. Set in an admin-only Windows source. No effect on native Windows. | Managed settings only |
Example
Require a Version Range
This file stops versions older than 2.1.300 from starting and merges all managed sources instead of using the top one alone.
/etc/claude-code/managed-settings.json
{
"requiredMinimumVersion": "2.1.300",
"managedSourcesBehavior": "merge"
}
Related Pages
- Settings Files and Scopes explains the scopes, precedence, and managed settings.
- Settings Reference is the official page for each key.
- Deploy Managed Settings is the guide for administrators.