Skip to content
Snippets Groups Projects
Unverified Commit a6115f8b authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

FAQ: update cleanup text.

parent d8caacde
No related branches found
No related tags found
No related merge requests found
......@@ -29,12 +29,7 @@ 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.
## How do I uninstall old versions of a formula?
Before `v1.9.0`, Homebrew did not uninstall old versions of a formula, so
over time you will accumulate old versions.
After `v1.9.0`, Homebrew introduced optional automatic cleanup via
the `HOMEBREW_INSTALL_CLEANUP` environment variable.
After `v2.0.0`, Homebrew's default behavior changed to automatically
uninstall old versions of a formula every 30 days.
Homebrew's default behaviour automatically uninstalls old versions of a formula every 30 days.
To remove them manually, simply use:
......@@ -48,14 +43,8 @@ or to see what would be cleaned up:
brew cleanup -n
or to __enable__ automatic `brew cleanup` for Homebrew `>= v1.9.0`, `<= 2.0.0`:
or to __disable__ automatic `brew cleanup`:
# Add this line to your ~/.bashrc or ~/.bash_profile
export HOMEBREW_INSTALL_CLEANUP=1
or to __disable__ automatic `brew cleanup` for Homebrew `>= v2.0.0`:
# Add this line to your ~/.bashrc or ~/.bash_profile
export HOMEBREW_NO_INSTALL_CLEANUP=1
## How do I uninstall Homebrew?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment