Answer: To install Claude Code in your terminal, open a terminal and run the command for your system. For macOS, Linux, or WSL, run `curl -fsSL https://claude.ai/install.sh | bash`; on Windows PowerShell use `irm https://claude.ai/install.ps1 | iex`, and on Windows CMD use `curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd`. Status: Confirmed Entry: tool/claude-code/install-and-setup/install-terminal-cli Revision: 2 Digest: sha256:c98a5da94d2ac222 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:28:03Z Last changed: 2026-11-13T03:04:50Z (verify installation: — → claude --version) Last verified: 2026-11-20T12:22:30Z Next check: 2026-11-21T12:22:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of macOS/Linux/WSL install command | curl -fsSL https://claude.ai/install.sh | bash | [1] | 2026-11-20 Windows PowerShell install command | irm https://claude.ai/install.ps1 | iex | [1] | 2026-11-20 Windows CMD install command | curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd | [1] | 2026-11-20 Homebrew install command | brew install --cask claude-code | [1] | 2026-11-20 WinGet install command | winget install Anthropic.ClaudeCode | [1] | 2026-11-20 verify installation | claude --version | [1] | 2026-11-20 Sources: [1] Anthropic. "Overview". https://code.claude.com/docs/en/overview.md Role: primary. Accessed: 2026-11-20T12:22:30Z Quote: "curl -fsSL https://claude.ai/install.sh | bash" (Supports: macOS/Linux/WSL install command) Quote: "irm https://claude.ai/install.ps1 | iex" (Supports: Windows PowerShell install command) Quote: "curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd" (Supports: Windows CMD install command) Quote: "brew install --cask claude-code" (Supports: Homebrew install command) Quote: "winget install Anthropic.ClaudeCode" (Supports: WinGet install command) Quote: "open a new terminal window and run `claude --version`" (Supports: verify installation) Published: 2026-11-20T10:36:07Z Snapshot SHA-256: 966993397d19e6a81a2d36bb562b0a3c99fbc7198ff618b9fe1cfdd99f4f1427 (captured 2026-11-13T02:28:03Z) 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-13T03:04:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:22:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:22:30Z Last attempt: 2026-11-20T12:22:30Z Notes and limitations: Extracted automatically from a single official source (section "Get started"). Related: https://latestn.com/tool/claude-code/install-and-setup/install-typescript-agent-sdk How do I install the Claude Code TypeScript Agent SDK? https://latestn.com/tool/claude-code/install-and-setup/install-vs-code-extension How do I install the Claude Code extension in VS Code? https://latestn.com/tool/claude-code/install-and-setup/linux-desktop-requirements What are the system requirements to install the Claude desktop app on Linux? https://latestn.com/tool/claude-code/install-and-setup/install-plugin-from-marketplace How do I install a Claude Code plugin from a marketplace? https://latestn.com/tool/claude-code/install-and-setup/install-security-guidance-plugin How do I install the security-guidance plugin in Claude Code? https://latestn.com/tool/claude-code/install-and-setup/install-security-plugin How do I install the Claude Security plugin in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:04:50Z | changed | verify installation: — → claude --version | [1] 2026-11-13T03:04:50Z | changed | verify command: claude --version → — | [1] 2026-11-13T02:28:03Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/install-and-setup/install-terminal-cli/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/install-and-setup/install-terminal-cli POST: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-terminal-cli with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-terminal-cli?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install Claude Code in my terminal? Revision 2, last verified 2026-11-20T12:22:30Z. https://latestn.com/tool/claude-code/install-and-setup/install-terminal-cli (accessed 2026-11-21T09:54:30Z). @misc{LatestN_tool_claude_code_install_and_setup_install_terminal_cli_r2, title = {How do I install Claude Code in my terminal?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/install-and-setup/install-terminal-cli}}, note = {Revision 2; digest sha256:c98a5da94d2ac222; last verified 2026-11-20T12:22:30Z; accessed 2026-11-21T09:54:30Z} } 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/install-and-setup/install-terminal-cli