Answer: To run diagnostic checks, first check network connectivity by verifying you can reach `downloads.claude.ai` with a curl command; you reached the server if the first line shows a `200` status. Then verify your PATH, check for conflicting installations, check directory permissions, and verify the binary works. Status: Confirmed Entry: tool/claude-code/troubleshooting/run-diagnostic-checks Revision: 3 Digest: sha256:fbc6dec4027af296 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:06:02Z Last changed: 2026-11-18T12:20:54Z (version check command: — → claude --version) Last verified: 2026-11-20T12:26:03Z Next check: 2026-11-21T12:26:03Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of connectivity check command | curl -sI https://downloads.claude.ai/claude-code-releases/latest | [1] | 2026-11-20 success status | 200 | [1] | 2026-11-20 macOS/Linux success line | HTTP/2 200 | [1] | 2026-11-20 Windows success line | HTTP/1.1 200 OK | [1] | 2026-11-20 403 meaning | 403 | [1] | 2026-11-20 5xx meaning | 5xx | [1] | 2026-11-20 native install path macOS/Linux | ~/.local/bin/claude | [1] | 2026-11-20 version check command | claude --version | [1] | 2026-11-20 Sources: [1] Anthropic. "Troubleshoot installation and login". https://code.claude.com/docs/en/troubleshoot-install.md Role: primary. Accessed: 2026-11-20T12:26:03Z Quote: "curl -sI https://downloads.claude.ai/claude-code-releases/latest" (Supports: connectivity check command) Quote: "You reached the server if the first line shows a `200` status." (Supports: success status) Quote: "You see `HTTP/2 200` on macOS and Linux" (Supports: macOS/Linux success line) Quote: "`HTTP/1.1 200 OK` from the `curl.exe` included with Windows" (Supports: Windows success line) Quote: "`403`: usually a proxy or network filter blocking the host" (Supports: 403 meaning) Quote: "`5xx`: usually a temporary service issue; wait a few minutes and retry" (Supports: 5xx meaning) Quote: "the installer places `claude` at `~/.local/bin/claude` on macOS/Linux" (Supports: native install path macOS/Linux) Quote: "claude --version" (Supports: version check command) Published: 2026-11-20T04:10:58Z Snapshot SHA-256: aa7df0be88ff6484ef82b97531d3db9732447c09b1b5ed4c68d54092632cbbe8 (captured 2026-11-20T12:25:59Z) 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]. Cross-check: not-available at 2026-11-20T12:26:03Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:26:03Z Last attempt: 2026-11-20T12:26:03Z Notes and limitations: Extracted automatically from a single official source (section "Run diagnostic checks"). Related: https://latestn.com/tool/claude-code/troubleshooting/run-test-loop How do I run the test loop to verify a self-hosted runner image in Claude Code? https://latestn.com/tool/claude-code/troubleshooting/sandbox-troubleshooting How do I fix Claude Code sandbox errors like host-not-allowed or commands failing to reach localhost? https://latestn.com/tool/claude-code/troubleshooting/scheduled-tasks-limitations What are the limitations of session-scoped scheduled tasks in Claude Code? https://latestn.com/tool/claude-code/troubleshooting/reset-login How do I reset my login in Claude Code? https://latestn.com/tool/claude-code/troubleshooting/respond-to-classifier-notice What should I do when Claude Code shows the auto mode classifier request charges notice? https://latestn.com/tool/claude-code/troubleshooting/retrigger-failed-review How do I retrigger a failed or timed-out Claude Code review? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:20:54Z | changed | version check command: — → claude --version | [1] 2026-11-18T12:20:54Z | changed | native install path macOS/Linux: — → ~/.local/bin/claude | [1] 2026-11-18T12:20:54Z | changed | 5xx meaning: — → 5xx | [1] 2026-11-18T12:20:54Z | changed | 403 meaning: — → 403 | [1] 2026-11-18T12:20:54Z | changed | Windows success line: — → HTTP/1.1 200 OK | [1] 2026-11-18T12:20:54Z | changed | macOS/Linux success line: — → HTTP/2 200 | [1] 2026-11-18T12:20:54Z | changed | connectivity check command: — → curl -sI https://downloads.claude.ai/claude-code-releases/latest | [1] 2026-11-18T12:20:54Z | changed | permissions check command: test -w ~/.local/bin && echo "writable" || echo "not writable" → — | [1] 2026-11-18T12:20:54Z | changed | conflicting installs command: which -a claude → — | [1] 2026-11-18T12:20:54Z | changed | PATH check command: claude --version → — | [1] 2026-11-18T12:20:54Z | changed | 5xx cause: 5xx → — | [1] 2026-11-18T12:20:54Z | changed | 403 cause: 403 → — | [1] 2026-11-18T12:20:54Z | changed | network check command: curl -sI https://downloads.claude.ai/claude-code-releases/latest → — | [1] 2026-11-15T12:26:20Z | changed | conflicting installs command: — → which -a claude | [1] 2026-11-15T12:26:20Z | changed | PATH check command: — → claude --version | [1] 2026-11-15T12:26:20Z | changed | 5xx cause: — → 5xx | [1] 2026-11-15T12:26:20Z | changed | 403 cause: — → 403 | [1] 2026-11-15T12:26:20Z | changed | network check command: — → curl -sI https://downloads.claude.ai/claude-code-releases/latest | [1] 2026-11-15T12:26:20Z | changed | binary version check: claude --version → — | [1] 2026-11-15T12:26:20Z | changed | conflicting installations check (macOS/Linux): which -a claude → — | [1] 2026-11-15T12:26:20Z | changed | PATH check command (macOS/Linux): ls -la ~/.local/bin/claude → — | [1] 2026-11-15T12:26:20Z | changed | 5xx meaning: 5xx → — | [1] 2026-11-15T12:26:20Z | changed | 403 meaning: 403 → — | [1] 2026-11-15T12:26:20Z | changed | network check command (macOS/Linux): curl -sI https://downloads.claude.ai/claude-code-releases/latest → — | [1] 2026-11-13T03:06:02Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/run-diagnostic-checks/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/troubleshooting/run-diagnostic-checks POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/run-diagnostic-checks with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/run-diagnostic-checks?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run diagnostic checks to troubleshoot Claude Code installation? Revision 3, last verified 2026-11-20T12:26:03Z. https://latestn.com/tool/claude-code/troubleshooting/run-diagnostic-checks (accessed 2026-11-21T09:57:05Z). @misc{LatestN_tool_claude_code_troubleshooting_run_diagnostic_checks_r3, title = {How do I run diagnostic checks to troubleshoot Claude Code installation?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/run-diagnostic-checks}}, note = {Revision 3; digest sha256:fbc6dec4027af296; last verified 2026-11-20T12:26:03Z; accessed 2026-11-21T09:57:05Z} } 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/troubleshooting/run-diagnostic-checks