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

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements
A
About on SuperTechFans
U
Unit 42
MyScale Blog
MyScale Blog
J
Java Code Geeks
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
量子位
月光博客
月光博客
G
Google Developers Blog
V
V2EX
博客园 - 聂微东
宝玉的分享
宝玉的分享
IT之家
IT之家
Vercel News
Vercel News

Mac - 分类 - cywhat's blog

Mac修改brew源 Mac出现xxx@bogon Zsh Problem Compinit503 No Such File or Directory Usr Local Share Zsh Site Mac安装mysql5.7 Mac必备软件推荐 Mac忽略系统更新提醒,并取消小红点
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下就好

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏