[BUG] Install fails on Ubuntu 22.04

Resolved 💬 6 comments Opened Jan 28, 2026 by diffen Closed Mar 6, 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?

Install fails with the message: bash: line 142: 34803 Killed "$binary_path" install ${TARGET:+"$TARGET"}
This is on Ubuntu 24.04 on AMD. Cloud VPS. The server is pretty vanilla because I just created the VM instance.

$ curl -fsSL https://claude.ai/install.sh | sudo bash
Setting up Claude Code...
                                                                                                           
Installing Claude Code native build latest...                                                              
bash: line 142: 34803 Killed                  "$binary_path" install ${TARGET:+"$TARGET"}


$ node -v
v25.5.0

$ bun -v
1.3.7

$ npm -v
11.8.0

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.3 LTS
Release:	24.04
Codename:	noble
 

What Should Happen?

Claude should install on the machine.

Error Messages/Logs

Installing Claude Code native build latest...                                                              
bash: line 142: 34803 Killed                  "$binary_path" install ${TARGET:+"$TARGET"}

Steps to Reproduce

  1. Create a Ubuntu 24.04 LTS virtual machine.
  2. Install nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
  3. Restart your session or run \. "$HOME/.nvm/nvm.sh"
  4. Install nodejs 25 via nvm: nvm install 25
  5. Verify your node version: node -v
  6. Install bun: npm install -g bun
  7. Try to install Claude Code: curl -fsSL https://claude.ai/install.sh | bash or curl -fsSL https://claude.ai/install.sh | sudo bash

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.19

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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