The MacPorts Project -- Download & Installation
Quickstart Install Xcode and the Xcode Command Line Tools Agree to Xcode license in Terminal: sudo xcodebuild -license Install MacPorts for your version of OS X: OS X 10.10 Yosemite OS X 10.9 Mavericks OS X 10.8 Mountain Lion Older OS? See here....