Preflight Checklist
What's Wrong?
When trying to run Claude Code by using 'claude' in the terminal. I get the following error:
/Users/USER/.claude/local/claude: line 2: /Users/USER/.claude/local/node_modules/.bin/claude: No such file or directory
/Users/USER/.claude/local/claude: line 2: exec: /Users/USER/.claude/local/node_modules/.bin/claude: cannot execute: No such file or directory
This started occuring recently after having made changes to my mcp servers in claude_config. However, this could be largely unrelated as emptying this file has no effect. Claude Desktop also still works with the claude_config.json filled with MCP servers.
What Should Happen?
I expect claude code to open.
Error Messages/Logs
/Users/USER/.claude/local/claude: line 2: /Users/USER/.claude/local/node_modules/.bin/claude: No such file or directory
/Users/USER/.claude/local/claude: line 2: exec: /Users/USER/.claude/local/node_modules/.bin/claude: cannot execute: No such file or directory
Steps to Reproduce
Not entirely sure how to recreate, other than removing the file at .bin/claude and then running claude code.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
N/A (cannot run claude --version, however, installed the most recent version as of 11-09-2025)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
No response
Preflight Checklist
What's Wrong?
When trying to run Claude Code by using 'claude' in the terminal. I get the following error:
This started occuring recently after having made changes to my mcp servers in claude_config. However, this could be largely unrelated as emptying this file has no effect. Claude Desktop also still works with the claude_config.json filled with MCP servers.
What Should Happen?
I expect claude code to open.
Error Messages/Logs
Steps to Reproduce
Not entirely sure how to recreate, other than removing the file at
.bin/claudeand then running claude code.Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
N/A (cannot run claude --version, however, installed the most recent version as of 11-09-2025)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
No response