[BUG] Unable to install Claude Code

Open 💬 0 comments Opened Jun 17, 2026 by Pankaj-Baranwal

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?

When I use the quickstart native install command:
curl -fsSL https://claude.ai/install.sh | bash
I am receiving:
curl: (28) Failed to connect to claude.ai port 443 after 136140 ms: Couldn't connect to server

Internet works from EC2.
Anthropic API works.
Only claude.ai:443 is hanging:
curl -4 -I https://google.com --connect-timeout 10
HTTP/2 301
location: https://www.google.com/
content-type: text/html; charset=UTF-8
content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-yNEj8t9o3et3RPpaXVyX3g' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
date: Wed, 17 Jun 2026 17:43:37 GMT
expires: Fri, 17 Jul 2026 17:43:37 GMT
cache-control: public, max-age=2592000
server: gws
content-length: 220
x-xss-protection: 0
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

curl -4 -I https://api.anthropic.com --connect-timeout 10
HTTP/2 404
date: Wed, 17 Jun 2026 17:43:45 GMT
vary: Accept-Encoding
server: cloudflare
cf-cache-status: DYNAMIC
set-cookie: _cfuvid=relmUS7vC3XYkUoMBKZytqi7r6fzVtMrDEAulT_cZmE-1781718225.7066102-1.0.1.1-uk9aJiuDYEjYpuV0HIaHNhPPwMJTk7Ra.SLfGtW5uTQ; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com
content-security-policy: default-src 'none'; frame-ancestors 'none'
x-robots-tag: none
cf-ray: a0d3dbbeac4747ec-BOM

What Should Happen?

It should seamlessly install Claude Code instead

Error Messages/Logs

Steps to Reproduce

Run:
curl -fsSL https://claude.ai/install.sh | bash

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

N/A

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Non-interactive/CI environment

Additional Information

_No response_

View original on GitHub ↗