Homebrew Common Order · Blog

HomeBrew common commands

1
< span class="line">$ brew search application name

note:
Support fuzzy search

View application information

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

Update application

Update all

1
2
$ brew outdated
$ brew cask outdated
1
2

$ brew upgrade
$ brew cask upgrade

Update the specified application

1
2
$ brew upgrade application name 
$ brew cask upgrade application name

Uninstall application

< /tr>

< span class="line">1
2
 $ brew uninstall application name
$ brew cask uninstall application name

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

< /table>

Delete the old version and cache of the specified application

1
2
$ brew cleanup
$ brew cask cleanup
< td class="gutter">

1
2
$ brew cleanup application name
$ brew cask cleanup application Name

Clean up invalid items

1< br>
$ brew prune

Open the official website of the application

< td class="code">

$ brew home application name
$ brew cask home application name pre>
1
2

Leave a Comment

Your email address will not be published.