As titaniumdecoy said, Homebrew
is the package manager of choice for OSX (apt-get
is the package manager that Ubuntu uses).
For wget
, you can either used curl
to accomplish what you want, or you can simply install Homebrew, then:
$ brew install wget
Many standard programs such as date
or sed
work a bit differently on Mac and Linux as well. I find it's easiest just to grab the Gnu (Linux) versions through Homebrew to keep things consistent across platforms:
$ brew install coreutils
$ brew install gnu-sed
(sed is seperate from the rest for some reason)