I'm trying to install the latest version of curl with homebrew, but it doesn't seem to be working.
I installed it with the following command and it seems to happen successfully:
$ brew install curl
/usr/local/bin to my PATH, I ran the following command:
$ echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.zshrc
However, curl still was on the old version, and running
which curl would point to
/usr/bin/curl. I tried to see if there was anything in
/usr/local/bin, but was surprised by the output:
$ which /usr/local/bin/curl
/usr/local/bin/curl not found
Sure enough, there was no symlink in
/usr/local/bin. What am I doing wrong? I am on macOS Catalina.