wget for Mac OS X Leopard

Three years ago I compiled a version of the ‘wget’ utility so that it would run under Mac OS X and uploaded it to Status-Q. It’s had an amazing number of downloads, and I felt it was probably time to update it!

So here is a shiny new wget.zip, which contains the following:

  • the wget binary
  • the wget.1 man page
  • the default wgetrc configuration file
  • A README file telling you a bit more.

The main changes from the original version are:

  • it’s a universal binary
  • it’s the latest version of wget (1.11.4)
  • it’s compiled on 10.5.4 and may possibly not work on older versions – please let me know in the comments if it does!

Hope it’s useful! Here’s some more of my Apple-related posts, or you could always just subscribe to the blog – here’s the RSS feed !

Enjoyed this post? Why not sign up to receive Status-Q in your inbox?


Perhaps I missed it, but I don’t see a reason why you should use this when wget is available through the Mac OS X Ports package. Installing it is as simple as “port install wget”.

    Israel –

    I use Ports too, but a lot of people don’t, and if you just want wget, this saves you installing all that other stuff, changing your path, etc.
    That’s the only reason, really.


    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

Nice it works like a charm. Thanks a bunch.

Thanks a lot for this binary, works fine on 10.5.7. I’d like to not download macports or smth to make wget working, and this binary is perfect for this 🙂

Or just call me by my physical state: frontallabotomy… I seem to have installed wget OK: files are where they should be. I ran the line wget http://www.epscor.hawaii.edu/ but all I got was the one index file and (of course) I was expecting the entire site. Any suggestions? Thanks, dk

dave k – have a look at the man page… you probably need the -r and -l options….

Works great on 10.5.7

wget -> /usr/bin
wgetrc -> /usr/local/etc
wget.1 -> /usr/share/man/man1

Thanks. It works on 10.5.3.

Thank you for taking the time to build this!!

A year later, this helped me out today – appreciated!

Exellent – thanks, works great!

OS X 10.5.8 and with readme.txt -suggestions (created manually all folders)
wget into /usr/local/bin
wget.1 into /usr/local/man/man1
wgetrc into /usr/local/etc

Great work – this is exactly what I needed, works great in OS X 10.6. Thank you!

Just installed on my Snow Leopard machine

sudo cp wget /usr/local/bin/
sudo cp wget.1 /usr/local/man/man1/
sudo cp wgetrc /usr/local/etc

quit then re started terminal
no probs what so ever!
Thanks so much ! 🙂

Works great in 10.6, thanks!

Thanks mate, well done. Concur, works perfectly in 10.6.1

Minor update to what others have posted above:

In order to make the wget man page available under Snow Leopard, the wget.1 man file must be located at /usr/local/share/man/man1. Therefore, I used the following when installing on Mac OS X 10.6.1:

sudo cp wget /usr/local/bin/
sudo cp wget.1 /usr/local/share/man/man1
sudo cp wgetrc /usr/local/etc

Both wget itself and its man page now work correctly.

Way to go, man !.
Just had a need to use it on my mac, it wasn’t there, of course, then google it, found your page, downloaded it, installed it, used it, commenting on your website, darn !…. 3 mins for all that….


Works awesome on 10.6.2 🙂

Nice AddWork 🙂

Stick an alias to curl in your .profile

alias wget=’curl -O’

Thank you!
I needed a new binary because I moved from PPC to intel. Works fine on 10.6.2

i successfully install it on 10.5.8

Thanks. Works great in Macbook Pro

Perfect. Thanks so much for this!!

Works great, thanks !

Thanks! Still works with Snow Leopard (10.6.3)

on 10.6.x I had to copy wget.1 to /usr/share/man/man1/

Funny, this is actually an alias for the build in application curl, but I always found wget easier.

Thanks for the good compiled files. I have tested it on OS X 10.6.4 and found it to be good. I had to manually make the man page directories first.

Thanks man! Works great, you just saved me a ton of time!

if you happen to be using tex as part of the texlive distro, wget is on your machine in the installer directory tree.

hey guys, maybe this is a dumb question but when i sudo cp the files, it says there’s no such file or directory meaning it’s not finding wget, wget.1, wgetrc….

any help is appreciated?..

Jordan –

Assuming you downloaded and unzipped the file, you’ll need to change into the resulting directory (folder). After starting up the Terminal, you’ll need something like:

cd Downloads/wget

There’s a slightly counter-intuitive trick you can use if you don’t know how to specify the location of the folder: type ‘cd ‘ into the Terminal and then drag and drop the folder onto the Terminal window and you should get the full pathname – something like

cd /Users/Jordan/Downloads/wget

The next issue might be that you don’t actually have the directories into which you’re trying to copy the files. You can do:

sudo mkdir -p /usr/local/etc

and so forth to create the directories. The ‘-p’ means ‘Create it if it doesn’t already exist’.

Still usefull three years after!

I am unable to download Xcode and to use macports so this port is saving my life!
It works under OS X 10.5.8


[…] Wget – Mac OS X only comes with curl. But curl does not provide the same functionality as wget […]

[…] Developer tools Zipeg EyeTV Lynxlet Vmware Fusion TunesTEXT iStat Menus AppCleaner QLColorCode wget Wakoopa Tracker Mozy Fluid […]

[…] Anyways I need to get some sleep but I don't want to miss out on any image, so I installed wget on my mac. […]

[…] users, you can grab wget from here; Mac users, here’s a good one for you. (Follow the installation instructions in the download.) Linux users should have it […]

[…] entire website, schedule downloads, automatically download music and more. It’s available for Mac OS X, Windows and Linux (usually installed […]

Got Something To Say:

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax


© Copyright Quentin Stafford-Fraser