mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 10:58:32 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/brew-cleanup
Normal file
25
tldr/brew-cleanup
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# brew cleanup
|
||||
|
||||
> Remove stale lock files and outdated downloads for all formulas and casks.
|
||||
> More information: <https://docs.brew.sh/Manpage#cleanup-options-formulacask->.
|
||||
|
||||
- Remove stale lock files and outdated downloads for all formulas/casks:
|
||||
|
||||
`brew cleanup`
|
||||
|
||||
- Remove stale lock files and outdated downloads for a specific formula/cask:
|
||||
|
||||
`brew cleanup {{formula|cask}}`
|
||||
|
||||
- Show what would be removed, but do not actually remove anything:
|
||||
|
||||
`brew cleanup {{[-n|--dry-run]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`brew cleanup {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user