I'm new using Mac and I'd like to upgrade the available cURL-7.43.0 to the last version cURL-7.47.1? I'm looking at some pages, but they say to avoid upgrading the originals on OSX. Any help please? Thanks
macOS El Capitan no longer supported by Apple In keeping with Apple's release cycle, macOS 10.11 El Capitan is no longer receiving security updates as of August 2018. El Capitan was replaced by Sierra 10.12, High Sierra 10.13 and the current release, macOS 10.14 Mojave.
The curl utility is a command line tool available on Unix, Linux, Mac OS X, Windows, and many other platforms. curl provides easy access to the HTTP protocol (among others) directly from the command line and is therefore an ideal way of interacting with CouchDB over the HTTP REST API.
Take a look at installing homebrew, it's a package manager that allow you to install and update binaries without overwriting your original ones.
You need then to prepend your PATH with homebrew's (/usr/local/bin
by default).
If you don't when you run curl
the system will fetch the default OSX one (/usr/bin/curl
) which isn't updated.
Use which curl
when you're done to check !
I had this issue as well with OSx locating curl at /usr/bin
. If you install curl with brew install curl
and then do brew info curl
it will tell you the following near the bottom of the post-op output:
If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.bash_profile
After running that command to update ~/.bash_profile
you need to source it by executing . ~/.bash_profile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With