

Users of Xcode 3 or earlier can install them by ensuring that the appropriate Or they can be installed from within Xcode back to version 4. Older versions are found at the Apple Developer site, With Xcode 4 and later, users need to accept the Xcode EULA by either launching Xcode or running: xcodebuild -licenseĪpple's Command Line Developer Tools, which can be installed on recent OS versions by running this command in the Terminal: xcode-select -install OS is highly recommended, except for Snow Leopard where the last free version, 3.2.6, is recommended. Using the latest available version that will run on your Site, on your Mac operating system installation CDs/DVD, or in the Mac App Store. Snow Leopard, or 3.1 or later for Leopard), found at the Apple Developer Please note that in order to install and run MacPorts on macOS, your system must have installations of the followingĪpple's Xcode Developer Tools (version 13.1 or later for Monterey,Ĩ.0 or later for Sierra, 7.0 or later for El Capitan,Ħ.1 or later for Yosemite, 5.0.1 or later for Mavericks, 4.4 or later for Mountain Lion, The public key to verify the detached GPG signatures can be found under the attachments section on jmr's wiki page. MacPorts installed and wish to upgrade to a newer release.Ĭhecksums for our packaged downloads are contained in the corresponding checksums file. The selfupdate target of the port(1) command, for users who already have.Git clone of the unpackaged sources, if you wish to follow MacPorts development.Tar.gz one for manual compilation, if you intend to customize your installation In source form as either a tar.bz2 package or a.Procedure that most users should follow after meeting the requirements listed

MacPorts version 2.8.0 is available in various formats for download and installation (note, if you are upgrading to a new major release of macOS, see the migration info page): Install MacPorts for your version of the Mac operating system:.Agree to Xcode license in Terminal: sudo xcodebuild -license.Install Xcode and the Xcode Command Line Tools.
