MacPorts is awesome. It allows you access to 1000’s of ports for the Terminal etc…
How To Install MacPorts for Command Line Fun
1. Download the latest version of MacPorts (Currently 1.7.1)
2. Unpack the archive
3. Run the installer and install to the default directory.
4. Once the installer is finished run the following command (this confirms you have versions of the portfiles listings: sudo port -v selfupdate
Its recommended you run the above command every now and then to update the sources.
Here are a few simple commands that you can use with MacPorts:
1. List all available Ports – in Terminal type: port list
2. Search for a Port, in this example im searching for git-core: port search git-core
3. Display info about a specific Port (using the port git-core as an ex again): port info git-core
4. View dependencies of a port: port deps git-core
5. View variations of a Port: port variants git-core
6. Install a port: sudo port install git-core
7. Uninstall a Port: port uninstall git-core
8. View installed Ports: port installed
9. View old outdated ports: port outdated
10. Upgrade a Port: port upgrade git-core
Matt is a Systems Development Director for a multinational franchise. Matt has lived and worked in Hawaii, Chicago, South Florida and currently resides outside of Atlanta. He enjoys his hobbies including Technology, Gadgets/EDC, Fountain Pens, Wetshaving, Clocks, Antiques & Coffee. He even roasts his own coffee weekly.
Leave a Reply