Merge pull request #6278 from trinitronx/update-faq-automatic-cleanup
Update FAQ entry: Homebrew automatic `brew cleanup` behavior change
This commit is contained in:
commit
777aef502d
@ -29,8 +29,9 @@ To allow that formulae to update again:
|
|||||||
Note that pinned, outdated formulae that another formula depends on need to be upgraded when required as we do not allow formulae to be built against non-latest versions.
|
Note that pinned, outdated formulae that another formula depends on need to be upgraded when required as we do not allow formulae to be built against non-latest versions.
|
||||||
|
|
||||||
## How do I uninstall old versions of a formula?
|
## How do I uninstall old versions of a formula?
|
||||||
By default, Homebrew does not uninstall old versions of a formula, so
|
Homebrew's default behaviour automatically uninstalls old versions of a formula every 30 days.
|
||||||
over time you will accumulate old versions. To remove them, simply use:
|
|
||||||
|
To remove them manually, simply use:
|
||||||
|
|
||||||
brew cleanup <formula>
|
brew cleanup <formula>
|
||||||
|
|
||||||
@ -42,6 +43,10 @@ or to see what would be cleaned up:
|
|||||||
|
|
||||||
brew cleanup -n
|
brew cleanup -n
|
||||||
|
|
||||||
|
or to __disable__ automatic `brew cleanup`:
|
||||||
|
|
||||||
|
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||||
|
|
||||||
## How do I uninstall Homebrew?
|
## How do I uninstall Homebrew?
|
||||||
To uninstall Homebrew, paste the command below in a terminal prompt.
|
To uninstall Homebrew, paste the command below in a terminal prompt.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user