mac安装homebrew
沙福林 2023-01-07 14:19:23
homebrew
安装教程
mac
homebrew 是macos的包管理工具,可用于安装常用开发环境 如 jdk,git,redis,mysql 等

1. 执行安装脚本
/bin/zsh -c "$(curl -fsSL https://gitee.com/zlhy7/notes/raw/master/%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/mac/Homebrew.sh)"
1
2. 后续操作
- 选择中科大下载,再选择中科大镜像
- 安装之后的软件都在
/opt/homebrew/Cellar/下,配置文件都在/opt/homebrew/etc/下
参考文档 (opens new window)