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 !


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 :)

Dead Handy, Thanks!

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’.

thanks so much!

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


Still works with 10.6.8

Thanks so much!

I know it’s been a while since you released your build of wget, but I just want to verify that you did NOT build it with SSL (ie, for use with https websites) support. When I have attempted to use it for sites using https with SSL certs,

./wget –secure-protocol=auto –no-check-certificate https://torquess.com/software/listing.pdf

Fails with:

Resolving torquess.com…
Connecting to torquess.com||:443… connected.
WARNING: cannot verify torquess.com’s certificate, issued by `/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)05/CN=VeriSign Class 3 Secure Server CA’:
Unable to locally verify the issuer’s authority.
HTTP request sent, awaiting response… 404 Not Found
2011-08-24 16:35:16 ERROR 404: Not Found.

Is my assumption correct, or am I misinterpreting the results?

Never mind. I’ve verified that you have compiled with SSL. Damn windoze sites!

Just work s on 10.6.8

Thank you so much. Wonderful.

I have read the README file and I still have no clue how to do this. I have version 10.6.8. Thanks.

Still works on Lion as of 2012!

Thanks so much. Worked on osx 10.6.8.
Much appreciated :)

Thanks a lot. Seems to be working fine on OSX Lion (10.7.4).


Just passing by to thank you and comment that it works for MacOS X 10.5.8.

Thanks a lot – works a treat on OS X Mountain Lion (10.8.2)

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