Downloading a single file # wget -X path/to/py # brew install wgetĪs long as a file or directory’s URL is publicly accessible, you can download it and files can be downloaded singly or recursively when downloading directories. Next, install wget command-line download client. Install Homebrew using the following command, it will also install Xcode’s command line tools if they aren’t already installed: # /bin/bash -c '$(curl -fsSL )' Don’t worry if you don’t have it installed, I’ve got you covered: There are alternatives like Fink and MacPorts but I prefer using Homebrew.