wget and curl on Mac OS X

Mac OS X does not come with various open source tools commonly found in other UNIX systems. Fink or MacPorts are good options in that case. For installing MacPorts see this blogpost.

This post is about getting curl and wget. First step is to check for any updates and update the outdated

sudo port selfupdate
sudo port upgrade outdated

then search for curl and install using these commands:

port search curl
sudo port install curl

similarly for wget:

port search wget
sudo port install wget

Alternatively you can build these from source. OS X Daily has a post on how to build and install wget

Sharing Options: