1

【笔记】阻止Homebrew自动更新和自动清理

 2 years ago
source link: https://feiju12138.github.io/2022/09/11/%E9%98%BB%E6%AD%A2Homebrew%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0%E5%92%8C%E8%87%AA%E5%8A%A8%E6%B8%85%E7%90%86/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【笔记】阻止Homebrew自动更新和自动清理

2022-09-11

1

阻止Homebrew自动更新和自动清理

阻止Homebrew自动更新

  • 当安装完新软件包后,会启动自动更新依赖的软件包,阻止这种更新

~/.zshrc

export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1

阻止Homebrew自动清理

  • 当安装完新软件包后,会自动清理安装这个软件包产生的垃圾,阻止这种清理

~/.zshrc

export HOMEBREW_NO_INSTALL_CLEANUP=1

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK