[BUG] Installation failed Failed to fetch version from stable: AxiosError: timeout of 30000ms exceeded
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 native installer fails with timeout errors on Ubuntu 22.04, despite curl successfully reaching all required endpoints. The installer times out at two different stages:
- Initial version fetch - 30-second timeout fetching from https://storage.googleapis.com/.../stable
- Binary download - 10-second timeout downloading from https://downloads.claude.ai/claude-code-releases/2.0.61/linux-x64/claude
Both endpoints respond successfully to curl commands with 200 OK responses.
The same installer works successfully on Ubuntu 24.04.
What Should Happen?
Installer should successfully download and install Claude Code, as it does on Ubuntu 24.04.
Error Messages/Logs
Key error from logs:
2025-12-09T19:02:39.044Z [ERROR] Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/stable: timeout of 30000ms exceeded
2025-12-09T19:02:39.045Z [ERROR] Install command failed: Error: Failed to fetch version from stable: AxiosError: timeout of 30000ms exceeded
Network connectivity verified - all succeed with 200 OK:
curl -I https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/stable
curl -I https://downloads.claude.ai/claude-code-releases/2.0.61/manifest.json
curl -I https://downloads.claude.ai/claude-code-releases/2.0.61/linux-x64/claude
Steps to Reproduce
- On Ubuntu 22.04, run: curl -fsSL https://claude.ai/install.sh | bash
- Installer times out fetching version from stable channel
- Retry with specific version: curl -fsSL https://claude.ai/install.sh | bash -s 2.0.61
- Installer times out downloading the binary (~100MB file)
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.0.61
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
OS: Ubuntu 22.04 LTS Installation method: Native installer (curl -fsSL https://claude.ai/install.sh | bash) Claude Code version: Attempting to install 2.0.61 (stable) Works on: Ubuntu 24.04 with same installer
This error also occurs when installing from npm on Ubuntu 22.04 LTS
$ npm install -g @anthropic-ai/claude-code
npm error code ETIMEDOUT
npm error syscall connect
npm error errno ETIMEDOUT
npm error network request to https://registry.npmjs.org/@anthropic-ai%2fclaude-code failed, reason: connect ETIMEDOUT 2606:4700::6810:322:443
npm error network This is a problem related to network connectivity.
npm error network In most cases you are behind a proxy or have bad network settings.
npm error network
npm error network If you are behind a proxy, please make sure that the
npm error network 'proxy' config is set properly. See: 'npm help config'
npm error A complete log of this run can be found in: /home/user/.npm/_logs/2025-12-22T13_50_32_477Z-debug-0.log
for my case the npm version worked immediately on Ubuntu 22 LTS, confirming it was not a network problem
for my case the npm version worked immediately on Ubuntu 22 LTS, confirming it was not a network problem
Same here.