Skip to content

Instantly share code, notes, and snippets.

@deepal
Last active October 15, 2021 19:08
Show Gist options
  • Save deepal/3924649af175dd2aa9412be4bf6996b3 to your computer and use it in GitHub Desktop.
Save deepal/3924649af175dd2aa9412be4bf6996b3 to your computer and use it in GitHub Desktop.
brew uninstall curl
curl -O https://raw.githubusercontent.com/cloudflare/homebrew-cloudflare/69036ea60a2196b71f4ac232b0f1d1062c99eb1a/curl.rb
brew install --HEAD -s curl.rb
# Then, add the path to curl binary to PATH env variable, so that you can 'curl' from anywhere in the terminal.
# For zsh
echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.zshrc
# For bash
echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment