Persistent Local Installation Failure in Claude CLI Tool

Resolved 💬 2 comments Opened Jul 8, 2025 by 0juano Closed Jul 19, 2025

Bug Description
when i do /doctor it tells me to to the migrate to install locally. When I do it, it says it was installed locally... but when i hit 'claude' it doesnt appear, so i have to install calude again with npm. Then i check doctor, and the same issue appears. Forever loop

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.44
  • Feedback ID: a74d27a4-4fa2-4ae3-a60c-d9d3878c7a98

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at checkExecSyncError (node:child_process:891:11)\n    at execSync (node:child_process:963:15)\n    at wD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:9350\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n    at uC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:8496)\n    at hC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:7361)\n    at wB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:11970)","timestamp":"2025-07-08T16:46:49.555Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗