[BUG] claude cli no longer running on OpenBSD, starting with 2.1.113

Status Closed — not planned
Reported on v2.1.113
Maintainer reply ✓ Yes — ant-kurt
Activity 13 comments · opened Apr 18, 2026 · closed Apr 23, 2026
💡 Likely answer: A maintainer (ant-kurt, collaborator) responded on this thread — see the highlighted reply below.

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?

The npm installer up to now has worked fine on OpenBSD and I'm using claude daily on this platform. The claude update to 2.1.113 leads to the following console output:

$ 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.

I'm now going back to $ npm install -g @anthropic-ai/claude-code@2.1.112, which works perfectly fine.

What Should Happen?

claude should start

Error Messages/Logs

Steps to Reproduce

  1. take a openbsd machine
  2. run npm install -g @anthropic-ai/claude-code
  3. start "claude"
  4. error

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.114

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

13 Comments

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/50270
  2. https://github.com/anthropics/claude-code/issues/50203
  3. https://github.com/anthropics/claude-code/issues/50190

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

eforbell · 4 months ago

npm view @anthropic-ai/claude-code@2.1.112 bin
{ claude: 'cli.js' }

npm view @anthropic-ai/claude-code@2.1.113 bin
{ claude: 'bin/claude.exe' }

yes they are trying to nerf legacy Intel Mac users post 2.1.112

keen99 · 4 months ago
yes they are trying to nerf legacy Intel Mac users post 2.1.112

not just intel - macos 14 on my m2 suffers the same issue. see #50974

I suspect this is the underlying cause - very poor handling of the native binary installer.

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%%
oespinozai · 4 months ago

and android - termux user.s

kucharskim · 4 months ago
ant-kurt collaborator · 4 months ago

Claude Code 2.1.113 has switched to a native executable (after npm deprecation was announced in January), which drops support for some platforms. Unfortunately we don't have plans to support OpenBSD going forward. You can pin to the last JS bundle release https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.1.112 to continue using Claude Code for now.

jperkin · 4 months ago

@ant-kurt "for now", great, thanks, so we can expect this to just break at any point in the future.

This is incredibly disappointing, as a $200 user who spends a lot of time running claude on illumos.

Time to invest in local llms instead then.

oespinozai · 4 months ago
@ant-kurt "for now", great, thanks, so we can expect this to just break at any point in the future. This is incredibly disappointing, as a $200 user who spends a lot of time running claude on illumos. Time to invest in local llms instead then.

or go chinese. im using minimax 2.7 and frankly is as if im using anthropic.

FabianaDantas · 3 months ago

In my case I resolved it by installing this optional package:

npm install -g @anthropic-ai/claude-code-darwin-arm64

c0dev0id · 3 months ago

As a max 20 user, I'm also very disappointed. And it will severely impact my work. Regressions like this don't foster trust. Is there another client that can be used on the many in future unsupported plattforms?

oespinozai · 3 months ago

Try Hermes agent and link Deepseek 4 flash or Pro. Works like a charm.
Keep Claude Pro for Opus if you want to double check things.
Total cost around USD 50 a month for the best allowances.

github-actions[bot] · 2 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.