[BUG] Fail to Fetch Latest Release from Install Script
Status Fixed / completed
Reported on v2.1.92
Maintainer reply None cached
Activity 3 comments · opened Apr 21, 2026 · 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
- Get a fresh Windows VM/Sandbox.
- Make sure its up to date on patches.
- Run
irm https://claude.ai/install.ps1 | iex - See error from failed install.
- 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.
3 Comments
This previously resolved to a
$GCS_BUCKETwith thehttps://storage.googleapis.com/domain.Side note: It may be useful if the bootstrap.ps1 script would get a hash or DateVer comment at the top.
Looks like this morning it's back to using
Invoke-RestMethodThis issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.