[BUG] FreeBSD x64 support broken after recent update
Resolved 💬 3 comments Opened Apr 20, 2026 by j-e-r-o-m-e Closed Apr 20, 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?
FreeBSD x64 support broken after recent update
Problem
Claude Code used to work on FreeBSD x64 but a recent update broke it. The postinstall script now exits with:
[@anthropic-ai/claude-code postinstall] Unsupported platform: freebsd x64
Supported: darwin-arm64, darwin-x64, linux-x64, linux-arm64, linux-x64-musl, linux-arm64-musl, win32-x64, win32-arm64
Version 2.1.112 was the last one working correctly on FreeBSD x64.
Request
Please either add FreeBSD as a supported platform (a linux-x64 binary works via FreeBSD's Linux compatibility layer), or restore the Node.js fallback for unsupported platforms that existed before this regression.
What Should Happen?
Expected behavior
Either:
- FreeBSD x64 is added to the supported platforms list, or
- A fallback to the pure Node.js entrypoint is available when no native binary exists (as it was up to version
2.1.112)
Workaround
Pinning to the last working version:
npm install -g @anthropic-ai/claude-code@2.1.112
Or running the Node.js entrypoint directly:
node /usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js
Error Messages/Logs
[@anthropic-ai/claude-code postinstall] Unsupported platform: freebsd x64
Supported: darwin-arm64, darwin-x64, linux-x64, linux-arm64, linux-x64-musl, linux-arm64-musl, win32-x64, win32-arm64
Steps to Reproduce
Environment
- OS: FreeBSD x64
- Node.js: (add your version:
node --version) - Last working version:
@anthropic-ai/claude-code@2.1.112 - Current broken version: (add:
npm list -g @anthropic-ai/claude-code)
Problem
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.112
Claude Code Version
Claude Code 2.1.112
Platform
Anthropic API
Operating System
Other
Terminal/Shell
Xterm
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗