Skip to content

Instantly share code, notes, and snippets.

@covard
Last active May 18, 2022 18:01
Show Gist options
  • Save covard/3c62b5330e9cdce53fada82daea7081d to your computer and use it in GitHub Desktop.
Save covard/3c62b5330e9cdce53fada82daea7081d to your computer and use it in GitHub Desktop.
Homebrew Info

Homebrew Info Homebrew Logo

Curl

You can no longer link or link --force for curl. To be able to use the brew install curl.

You will get the following message.

$ brew link curl --force
Warning: Refusing to link macOS provided/shadowed software: curl

To be able to use brew's installed curl is to add the following to the bottom of your ~/.bash_profile or ~/.profile or ~/.bashrc

export PATH="/usr/local/opt/curl/bin:$PATH"

Also to have Homebrew use the brew installed curl also add this to your profile.

# homebrew curl
export HOMEBREW_FORCE_BREWED_CURL=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment