mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Clean Up Old Homebrew Files as a mac til
This commit is contained in:
@@ -132,6 +132,7 @@ _335 TILs and counting..._
|
|||||||
|
|
||||||
### Mac
|
### Mac
|
||||||
|
|
||||||
|
- [Clean Up Old Homebrew Files](mac/clean-up-old-homebrew-files.md)
|
||||||
- [Default Screenshot Location](mac/default-screenshot-location.md)
|
- [Default Screenshot Location](mac/default-screenshot-location.md)
|
||||||
|
|
||||||
### PostgreSQL
|
### PostgreSQL
|
||||||
|
|||||||
17
mac/clean-up-old-homebrew-files.md
Normal file
17
mac/clean-up-old-homebrew-files.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Clean Up Old Homebrew Files
|
||||||
|
|
||||||
|
If you've been using [Homebrew](https://github.com/Homebrew/homebrew) for a
|
||||||
|
while, you may have built up some cruft in the form old and outdated files.
|
||||||
|
These will not be cleaned up automatically. You have do tell Homebrew to do
|
||||||
|
so. This can be done with the following command.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ brew cleanup
|
||||||
|
```
|
||||||
|
|
||||||
|
This command will report what files it cleans up as well as how much disk
|
||||||
|
space it was able to clear.
|
||||||
|
|
||||||
|
See `man brew` for more details.
|
||||||
|
|
||||||
|
h/t Dorian Karter
|
||||||
Reference in New Issue
Block a user