-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as not planned
Description
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
- [ √] your problem was from running the official
installoruninstallscript? - [ √] you carefully read the output and it was not a
git fetchor other connection issue to GitHub (that Homebrew has no control over)? - [X ] after installation: ran
brew configandbrew doctorand included their output with your issue? If you couldn't install: provided your OS version with the output of your issue?
What you were trying to do (and why)
Run the initial curl command from https://brew.sh to install brew on a new Mac (Tahoe 26.1).
What happened (include command output)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl: (56) The requested URL returned error: 404
Same 404 is occurring on 3 different Macs (Sequoia, Sequoia, and Tahoe) using two different internet providers.
;; ANSWER SECTION:
raw.githubusercontent.com. 1883 IN A 185.199.108.133
raw.githubusercontent.com. 1883 IN A 185.199.111.133
raw.githubusercontent.com. 1883 IN A 185.199.109.133
raw.githubusercontent.com. 1883 IN A 185.199.110.133
This seems more of a GitHub hosting issue, since clicking on "Raw" from https://github.com/Homebrew/install/blob/main/install.sh redirects to https://raw.githubusercontent.com/Homebrew/install/refs/heads/main/install.sh which also returns a 404.
What you expected to happen
Expected the installer to run.
Step-by-step reproduction instructions (by running brew commands)
$ /bin/bash -vc "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl: (56) The requested URL returned error: 404
$ curl -v https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
* Host raw.githubusercontent.com:443 was resolved.
* IPv6: (none)
* IPv4: 185.199.109.133, 185.199.110.133, 185.199.108.133, 185.199.111.133
* Trying 185.199.109.133:443...
* Connected to raw.githubusercontent.com (185.199.109.133) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
* subject: CN=*.github.io
* start date: Mar 7 00:00:00 2025 GMT
* expire date: Mar 7 23:59:59 2026 GMT
* subjectAltName: host "raw.githubusercontent.com" matched cert's "*.githubusercontent.com"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: raw.githubusercontent.com]
* [HTTP/2] [1] [:path: /Homebrew/install/HEAD/install.sh]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
> GET /Homebrew/install/HEAD/install.sh HTTP/2
> Host: raw.githubusercontent.com
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/2 404
< content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
< strict-transport-security: max-age=31536000
< x-content-type-options: nosniff
< x-frame-options: deny
< x-xss-protection: 1; mode=block
< content-type: text/plain; charset=utf-8
< x-github-request-id: CF88:15AB03:CDF05C:1008DCF:691CDC48
< accept-ranges: bytes
< date: Tue, 18 Nov 2025 20:51:35 GMT
< via: 1.1 varnish
< x-served-by: cache-pdx12324-PDX
< x-cache: HIT
< x-cache-hits: 1
< x-timer: S1763499096.859460,VS0,VE1
< vary: Authorization,Accept-Encoding
< access-control-allow-origin: *
< cross-origin-resource-policy: cross-origin
< x-fastly-request-id: 3ff1f1eadc2ec50b1564d2f1a87afebe27ab5e32
< expires: Tue, 18 Nov 2025 20:56:35 GMT
< source-age: 15
< content-length: 14
<
* Connection #0 to host raw.githubusercontent.com left intact
404: Not Found
Metadata
Metadata
Assignees
Labels
No labels