Claude Code errors / Install
command not found: claude
Cause
On macOS with Homebrew-managed Node, npm creates a symlink pointing to the raw JS file rather than the executable launcher, so 'claude' is not on PATH.
Fix
Remove the broken symlink: rm /opt/homebrew/bin/claude. Create the correct one into the Cellar: ln -s /opt/homebrew/Cellar/node/<version>/bin/claude /opt/homebrew/bin/claude. Verify with 'claude --version'.
Part of the Automation Error Index — Claude Code errors: browse all.
Hitting an automation error we have not covered?
AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.
Describe the problem