[BUG] cannot install with npm (at least non-global) after 2.1.112

Resolved 💬 3 comments Opened Apr 20, 2026 by keen99 Closed Apr 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] 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?

On macos 14 (only place I've tested this), .113 and .114 are no longer installable, or at least not non-global. (I dont do global installs) with npm.

[1s][1]zinc:~/tmp/claude-install%% sw_vers -productVersion
14.3.1

Whatever this native binary installer part is supposed to do...isnt.

zinc:~/tmp/claude-install/sandboxes/2.1.113%% node node_modules/@anthropic-ai/claude-code/install.cjs
[@anthropic-ai/claude-code postinstall] Native package "@anthropic-ai/claude-code-darwin-arm64" not found.
  You are running x64 Node under Rosetta 2 on Apple Silicon. npm only
  installed the darwin-x64 binary, which requires AVX (not emulated by
  Rosetta). Install arm64 Node and reinstall — e.g. via nvm:
    arch -arm64 zsh -c "nvm install --lts && npm i -g @anthropic-ai/claude-code"
zinc:~/tmp/claude-install/sandboxes/2.1.113%%

What Should Happen?

claude should....run. :)

Error Messages/Logs

Steps to Reproduce

zinc:~/tmp/claude-install%% VERSION=2.1.112; ( mkdir -p "sandboxes/$VERSION" && cd "sandboxes/$VERSION" && npm init -y >/dev/null 2>&1 && npm install --silent "@anthropic-ai/claude-code@$VERSION" && ./node_modules/.bin/claude --version )
2.1.112 (Claude Code)
[2s]zinc:~/tmp/claude-install%% VERSION=2.1.113; ( mkdir -p "sandboxes/$VERSION" && cd "sandboxes/$VERSION" && npm init -y >/dev/null 2>&1 && npm install --silent "@anthropic-ai/claude-code@$VERSION" && ./node_modules/.bin/claude --version )
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.

same result with .114.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.112

Claude Code Version

2.1.113

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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