surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| .. | ||
| macos | Add MDM deployment example templates (#45866) | on Apr 9, 2026 |
| windows | Add MDM deployment example templates (#45866) | on Apr 9, 2026 |
| managed-settings.json | Add MDM deployment example templates (#45866) | on Apr 9, 2026 |
| README.md | Add MDM deployment example templates (#45866) | on Apr 9, 2026 |
MDM Deployment Examples
Example templates for deploying Claude Code managed settings through Jamf, Iru (Kandji), Intune, or Group Policy. Use these as starting points — adjust them to fit your needs.
All templates encode the same minimal example (permissions.disableBypassPermissionsMode). See the settings reference for the full list of keys, and ../settings for more complete example configurations.
Templates
[!WARNING] These examples are community-maintained templates which may be unsupported or incorrect. You are responsible for the correctness of your own deployment configuration.
| File | Use with |
|---|---|
managed-settings.json | Any platform. Deploy to the system config directory. |
macos/com.anthropic.claudecode.plist | Jamf or Iru (Kandji) Custom Settings payload. Preference domain: com.anthropic.claudecode. |
macos/com.anthropic.claudecode.mobileconfig | Full configuration profile for local testing or MDMs that take a complete profile. |
windows/Set-ClaudeCodePolicy.ps1 | Intune Platform scripts. Writes managed-settings.json to C:\Program Files\ClaudeCode\. |
windows/ClaudeCode.admx + en-US/ClaudeCode.adml | Group Policy or Intune Import ADMX. Writes HKLM\SOFTWARE\Policies\ClaudeCode\Settings (REG_SZ, single-line JSON). |
Tips
- Replace the placeholder
PayloadUUIDandPayloadOrganizationvalues in the.mobileconfigwith your own (uuidgen) - Before deploying to your fleet, test on a single machine and confirm
/statuslists the source under Setting sources — e.g.Enterprise managed settings (plist)on macOS orEnterprise managed settings (HKLM)on Windows - Settings deployed this way sit at the top of the precedence order and cannot be overridden by users
Full Documentation
See https://code.claude.com/docs/en/settings#settings-files for complete documentation on managed settings and settings precedence.