[BUG] claude native binary not installed.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [ ] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
$ claude
Error: claude native binary not installed.
Either postinstall did not run (--ignore-scripts, some pnpm configs)
or the platform-native optional dependency was not downloaded
(--omit=optional).
Run the postinstall manually (adjust path for local vs global install):
node node_modules/@anthropic-ai/claude-code/install.cjs
Or reinstall without --ignore-scripts / --omit=optional.
What Should Happen?
run well
Error Messages/Logs
Steps to Reproduce
think@sunchengzi MINGW64 ~
$ npm uninstall -g @anthropic-ai/claude-code
npm cache clean --force
removed 1 package in 277ms
npm warn using --force Recommended protections disabled.
think@sunchengzi MINGW64 ~
$
think@sunchengzi MINGW64 ~
$
think@sunchengzi MINGW64 ~
$
think@sunchengzi MINGW64 ~
$ npm install -g @anthropic-ai/claude-code
added 1 package in 2s
think@sunchengzi MINGW64 ~
$
think@sunchengzi MINGW64 ~
$ claude
Error: claude native binary not installed.
Either postinstall did not run (--ignore-scripts, some pnpm configs)
or the platform-native optional dependency was not downloaded
(--omit=optional).
Run the postinstall manually (adjust path for local vs global install):
node node_modules/@anthropic-ai/claude-code/install.cjs
Or reinstall without --ignore-scripts / --omit=optional.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
1.0.123
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗