[BUG] Claude's code has been switched from npm to a native installer, but it no longer runs on NixOS.
Resolved 💬 2 comments Opened Feb 7, 2026 by gsmlg Closed Mar 7, 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?
Can not run on nixos, dynamic links are not exists in nixos
What Should Happen?
run as normal npm installed verison
Error Messages/Logs
Could not start dynamically linked executable: ~/.local/share/claude/versions/2.1.31
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld
Steps to Reproduce
- install npm version with
npm i -g @anthropic-ai/claude-code - install native
claude install - run native version
claude
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.31
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗