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

Resolved 💬 13 comments Opened Apr 18, 2026 by c0dev0id 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?

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 ↗

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