How to get “wget” for Snow Leopard

command linesnow leopard

There's no wget command. How do I get it?

Best Answer

Alternatively, if you don't need wget specifically, Snow Leopard does come with curl which does many of the same things.

E.g., fetching your flair via wget:

wget http://apple.stackexchange.com/users/flair/2726.png

vs. fetching it with curl:

curl -O http://apple.stackexchange.com/users/flair/2726.png

Notably lacking from curl is wget's --mirror option, but it does have nifty fetching with patterns, which handles many of the same problems:

# Fetch flair images for users 2726 through 2730
curl -O http://apple.stackexchange.com/users/flair/[2726-2730].png