Mac_本机安装brew

参考文档

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

Branch 'master' set up to track remote branch 'master' from 'origin'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.

        Homebrew自动安装程序运行完成
          国内地址已经配置完成

  桌面的Old_Homebrew文件夹,没有你需要的可以删除。

              初步介绍几个brew命令
查看版本:brew -v  更新brew版本:brew update
查找:brew search python(其中python替换为要查找的关键字)
安装:brew install python  安装完成输入 python3 -h 查看
本地软件库列表:brew ls

        
        欢迎右键点击下方地址-打开链接 点个赞吧
         https://zhuanlan.zhihu.com/p/111014448 

 安装成功 但还需要重启终端 或者 运行 source /Users/pan/.zprofile   否则国内地址无法生效
Licensed under CC BY-NC-SA 4.0
最后更新于 2025-12-03 14:37
comments powered by Disqus
使用 Hugo 构建
主题 StackJimmy 设计