如何让 brew 安装软件之前不要 update?-灵析社区

Mia好纠结

╰─➤ brew install stress 127 ↵ Running `brew update --auto-update`... 装啥都会先自动 update,就很烦,因为太慢了,等半天。如何让 brew 安装软件之前不要 update? * * * ![图片.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250109/c15baf0d9a01113dd795a4b6a941d172.png) 按照 chatGPT 的建议,添加 `--no-update` 没用 ╰─➤ brew install --no-update stress Running `brew update --auto-update`...

阅读量:220

点赞量:17

问AI
PX_13
HOMEBREW_NO_AUTO_UPDATE=1 brew install 要是想始终生效就把这个环境变量写进 "~/.zshrc" 里。