惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
Y
Y Combinator Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
D
Docker
罗磊的独立博客
Microsoft Security Blog
Microsoft Security Blog
D
DataBreaches.Net
B
Blog
Vercel News
Vercel News
Recent Announcements
Recent Announcements
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志
T
The Blog of Author Tim Ferriss
H
Hackread – Cybersecurity News, Data Breaches, AI and More
P
Proofpoint News Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
宝玉的分享
宝玉的分享

Mac - 标签 - cywhat's blog

Mac修改brew源 Mac出现xxx@bogon Mac安装mysql5.7 Mac必备软件推荐 Mac忽略系统更新提醒,并取消小红点 Iterm2/Mac自带终端工具快速ssh
Mac安装brew
cywhat · 2020-03-18 · via Mac - 标签 - cywhat's blog

Mac是自带ruby的 打开命令行工具terminal

1.查看ruby版本

1
ruby -version

https://img-blog.csdnimg.cn/20200318153334646.png

2.用ruby安装brew

1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

https://img-blog.csdnimg.cn/20200318153528840.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2NoYW95YW5nX28=,size_16,color_FFFFFF,t_70

3.brew 安装模块方法(举个例子:安装wget)

1
brew install wget

4.brew卸载模块方法(举个例子:卸载wget)

1
brew uninstall wget

5.其他brew命令

1
brew list

brew跟pip有点类似,其他命令不一一列举了,自己help下就好

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏