Wget Equivalent in OS X

2014-10-06 OS X

Wget is very handy Linux command. I wrote about it some articles. Unfortunately we won’t find it in OS X.

There is very easy workaroud. We will use curl instead.

Let’s assume that we want to download jQuery library into our project directry from official page. Recent jQuery library can be reached using below address:


Now simply open terminal and go to destination location where you want to download the file:

cd /Users/slick/www/slick/wp-content/themes/slick/js/

Now type:

curl http://code.jquery.com/jquery-2.1.1.min.js -o jquery-2.1.1.min.js

Obviously name of the destination file can be changed to anything you want.