1.mac os 安装brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew -v
Homebrew 1.6.9
Homebrew/homebrew-core (git revision afcb; last commit 2018-07-05)
2.brew 安装软件
brew search python3
brew install python3
参考:
0.Homebrew官网安装教程
1.mac安装brew 软件包管理工具Homebrew
2.Homebrew帮助文档