mac 安装神器brew

MAC安装brew命令方法:命令行输入
 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  
 回车(这里有提示目录不存在,要创建需要按return键,如果用的windows键盘,就是回车键)

它的用法
brew update  更新brew;
brew install {应用名,如git} 安装软件
brew cask install {应用名,如git} 也是下载安装,与上面的区别,请查看https://www.zhihu.com/question/22624898
等等

猜你喜欢

转载自blog.csdn.net/qq_31930499/article/details/80240175