Last active
October 15, 2021 19:08
-
-
Save deepal/3924649af175dd2aa9412be4bf6996b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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