Answer: The prerequisites include claude.ai-side setup (an Owner must turn on "Allow self-hosted environments" and the GitHub connector, plus each developer's GitHub connection), a Linux or macOS host or container with outbound HTTPS to api.anthropic.com, claude.ai and the download hosts, and your git host, a clonable test repository, a synchronized clock, Claude Code v2.1.224 or later, and Git 2.24 or newer. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites Revision: 2 Digest: sha256:211280e812da7df9 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:41Z Last changed: 2026-11-17T12:30:53Z (Claude Tag sessions version: — → v2.1.229 or later) Last verified: 2026-11-20T12:25:00Z Next check: 2026-11-21T12:25:00Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Claude Code version | v2.1.224 or later | [1] | 2026-11-20 Git version | 2.24 or newer | [1] | 2026-11-20 Runner host OS | Linux or macOS | [1] | 2026-11-20 Admin setting | Allow self-hosted environments | [1] | 2026-11-20 GitHub connector | GitHub connector | [1] | 2026-11-20 Clock requirement | A clock synchronized to real time | [1] | 2026-11-20 Claude Tag sessions version | v2.1.229 or later | [1] | 2026-11-20 Sources: [1] Anthropic. "Self-hosted environments quickstart". https://code.claude.com/docs/en/self-hosted-environments-quickstart.md Role: primary. Accessed: 2026-11-20T12:25:00Z Quote: "**Claude Code v2.1.224 or later**, with any of the [standard install methods]" (Supports: Claude Code version) Quote: "**Git 2.24 or newer**." (Supports: Git version) Quote: "A Linux or macOS host or container with outbound HTTPS to `api.anthropic.com`" (Supports: Runner host OS) Quote: "**Allow self-hosted environments** turned on by an [Owner]" (Supports: Admin setting) Quote: "The [GitHub connector](https://claude.ai/admin-settings/connectors) turned on by an Owner" (Supports: GitHub connector) Quote: "A clock synchronized to real time, for example with NTP." (Supports: Clock requirement) Quote: "A runner that serves Claude Tag sessions needs v2.1.229 or later and `python3` on its `PATH`" (Supports: Claude Tag sessions version) Published: 2026-11-20T03:48:50Z Snapshot SHA-256: 2717fc8f051dd4b696269be1fd95b945b87685cadc0d8f4386c16eba9531e806 (captured 2026-11-17T12:30:53Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:30:53Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:25:00Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:00Z Last attempt: 2026-11-20T12:25:00Z Notes and limitations: Extracted automatically from a single official source (section "Prerequisites"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-limitations What are the limitations of Claude Code self-hosted environments? https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-orchestrator-cli-flags What CLI flags and SCM connector options does the Claude Code self-hosted orchestrator support? https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-prometheus-metrics-alerts What Prometheus metrics and health endpoint does Claude Code expose for self-hosted environments, and how do I set up alerts? https://latestn.com/tool/claude-code/admin-and-enterprise/roll-out-gateway-for-org How do I roll out an LLM gateway for my organization in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/rotate-jwt-secret How do I rotate the JWT secret for a Claude apps gateway? https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-availability-enablement Which Claude Code plans support self-hosted environments and how do I enable them? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T12:30:53Z | changed | Claude Tag sessions version: — → v2.1.229 or later | [1] 2026-11-17T12:30:53Z | changed | Runner host OS: — → Linux or macOS | [1] 2026-11-17T12:30:53Z | changed | Tag sessions version: v2.1.229 or later → — | [1] 2026-11-17T12:30:53Z | changed | Host OS: Linux or macOS → — | [1] 2026-11-13T03:05:41Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What are the prerequisites for setting up a self-hosted environment in Claude Code? Revision 2, last verified 2026-11-20T12:25:00Z. https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites (accessed 2026-11-21T09:58:17Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_self_hosted_environment_prerequisites_r2, title = {What are the prerequisites for setting up a self-hosted environment in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites}}, note = {Revision 2; digest sha256:211280e812da7df9; last verified 2026-11-20T12:25:00Z; accessed 2026-11-21T09:58:17Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/self-hosted-environment-prerequisites