Skip to content

Instantly share code, notes, and snippets.

@PiiXiieeS
Created October 20, 2013 23:52
Show Gist options
  • Save PiiXiieeS/7076776 to your computer and use it in GitHub Desktop.
Save PiiXiieeS/7076776 to your computer and use it in GitHub Desktop.
wget in Mac with the command curl

Create an alias of the command curl with the parameter -O

echo 'alias wget="curl -O"' >> ~/.bash_profile

Reboot the terminal session or open a new one to get the bash_profile loaded witht he new alias. You can also force loading the new basch_profile with the command

source ~/.bash_profile

Now you can use the wget command like in any Unix machine

wget http://ghost.org/zip/ghost-0.3.3.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment