HomeBrew common commands
search application
1
|
< span class="line">$ brew search application name
|
note:
Support fuzzy search
1 2
|
$ brew info application name $ brew cask info application name
|
Install the app
1 2
|
$ brew install application name $ brew cask ins tall application name
|
View installed applications List
1 2
|
$ brew list $ brew cask list
|
View updatable apps
1 2
|
$ brew outdated $ brew cask outdated
|
Update application
Update all
1 2
|
$ brew upgrade $ brew cask upgrade
|
Update the specified application
1 2
|
$ brew upgrade application name $ brew cask upgrade application name
|
Uninstall application
< span class="line">1 2
|
$ brew uninstall application name $ brew cask uninstall application name
|
< /tr>
Delete old version and cache
View old version and cache list
1 2
|
$ brew cleanup -n $ brew cask cleanup -n
|
Delete all old versions and caches
1 2
|
$ brew cleanup $ brew cask cleanup
|
< /table>
Delete the old version and cache of the specified application
< td class="gutter">
1
2
$ brew cleanup application name $ brew cask cleanup application Name
|
Clean up invalid items
Open the official website of the application
1 2
|
< td class="code">
$ brew home application name
$ brew cask home application name pre>