I ran into this error while trying to install curl w/ http3 support:
brew install --HEAD -s https://raw.githubusercontent.com/cloudflare/homebrew-cloudflare/master/curl.rb Error: Calling Non-checksummed download of curl formula file from an arbitrary URL is disabled! Use 'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead. The suggested fixes, brew extract, brew create, or brew tap-new are totally foreign to me and I wasn't sure where to begin. Googling it lead me down a path of more brew related terminology I had never heard of before.
Easiest way to bypass it?
wget [the-url] Then
brew install --HEAD -s [the-script] So from my example above:
# Instead of brew install --HEAD -s https://raw.githubusercontent.com/cloudflare/homebrew-cloudflare/master/curl.rb # Do wget https://raw.githubusercontent.com/cloudflare/homebrew-cloudflare/master/curl.rb brew install --HEAD -s curl.rb Of course make sure you only do this for trusted sources!
Happy hacking!
Top comments (3)
... and why, oh why, did I only read this now?
I could have saved countless hours sigh ... Like you, I'm no
brewexpert, so I felt a bit blind, walking into the abyss... eventually, after oh so many hours, I did manage to get this to work, but with a way more convoluted procedure...Anyway, thanks so much π β I'm referring your post here to the Cloudflare devs, so that they properly update things on their instructions...
Thank you so much, I just started to study Linux and using brew. It was helpful to proceed.
Thanks!! You should consider changing the example from wget to curl. macOS doesn't ship with wget.