[Feature Request] Add native Nix/NixOS support or maintain npm installation method
Open 💬 6 comments Opened Jan 22, 2026 by barrulus
Bug Description
I run a Nixos machine and have been happily using the npm install to keep myself current. This is now deprecated in favour of claude install native installer which does not work on Nix/NixOs. I worry that you are deprecating the easiest install method for Nixos and it won't be followed with anything to fill the gap. The native installer requires significant effort to port to a nix flake which will mean that many Nix users are going to be left behind. Please will you either bake in Nix support or avoid discontinuing the npm install method
Environment Info
- Platform: linux
- Terminal: ghostty
- Version: 2.1.15
- Feedback ID: a43b4b0f-01b4-4901-9c45-c07c61f53192
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir '/etc/claude-code/.claude/skills'\n at Module.readdirSync (node:fs:1569:26)\n at file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:9:1766\n at UX (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:8:34567)\n at Object.readdirSync (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:9:1736)\n at fw1 (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:1540:369)\n at file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:1540:4279\n at q (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n at DT2 (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:4183:4362)\n at file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:4183:6961\n at q (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)","timestamp":"2026-01-22T07:39:25.378Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/home/barrulus/.claude/skills'\n at Module.readdirSync (node:fs:1569:26)\n at file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:9:1766\n at UX (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:8:34567)\n at Object.readdirSync (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:9:1736)\n at fw1 (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:1540:369)\n at file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:1540:4322\n at q (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n at DT2 (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:4183:4362)\n at file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:4183:6961\n at q (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)","timestamp":"2026-01-22T07:39:25.378Z"},{"error":"AggregateError\n at X9A.from (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:26:8257)\n at AP.<anonymous> (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:44:9979)\n at AP.emit (node:events:508:28)\n at AP.emit (node:domain:489:12)\n at WE1.<computed> (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:43:1117)\n at ClientRequest.emit (node:events:520:35)\n at ClientRequest.emit (node:domain:489:12)\n at emitErrorEvent (node:_http_client:108:11)\n at TLSSocket.socketErrorListener (node:_http_client:575:5)\n at TLSSocket.emit (node:events:508:28)\n at FjA.request (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:46:2130)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async y01 (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:2284:15357)\n at async K_A (file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:2284:15581)\n at async Promise.all (index 0)\n at async file:///home/barrulus/tools/node_modules/@anthropic-ai/claude-code/cli.js:3891:13558","timestamp":"2026-01-22T07:39:25.880Z"}]This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗