mac 安装 macports

  1. Install Xcode and the Xcode Command Line Tools
  2. Agree to Xcode license in Terminal: sudo xcodebuild -license
  3. Install MacPorts for your version of OS X:

下载地址:https://www.macports.org/install.php

 

安装后记得重启终端,否则会提示port命令找不到。

更新命令:

sudo port -v selfupdate
原文链接:,转发请注明来源!

发表评论