[BUG] Fail to Fetch Latest Release from Install Script

Resolved 💬 3 comments Opened Apr 21, 2026 by HeyItsGilbert Closed Apr 22, 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?

When installing from https://claude.ai/install.ps1 the script uses Invoke-WebRequest to fetch the latest version. This can fail due to the new prompting for -UseBasicParsing which was released in an security patch: http://support.microsoft.com/en-us/topic/powershell-5-1-invoke-webrequest-preventing-script-execution-from-web-content-7cb95559-655e-43fd-a8bd-ceef2406b705

What Should Happen?

No prompting. The install continues as expected.

Error Messages/Logs

Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: unable to get local issuer certificate

Steps to Reproduce

  1. Get a fresh Windows VM/Sandbox.
  2. Make sure its up to date on patches.
  3. Run irm https://claude.ai/install.ps1 | iex
  4. See error from failed install.
  5. Note that the script incorrectly exists with ✅ Installation complete!

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.92

Claude Code Version

n\a

Platform

Google Vertex AI

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

If the endpoint is failing due to load or anything else, it would be good to capture that in the catch and state it clearly in the error. Currently it just throws the error via $_ which is almost never user readable.

View original on GitHub ↗

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