FaiChou

brew

31 Dec 2018

$ brew search httpie
$ brew search cask

install

$ brew install httpie # if just a command
$ brew cask wewechat # if is an app

list outdated package

$ brew outdated

upgrade

$ brew upgrade # upgrade all packages
$ brew upgrade httpie # update specific package

update

$ brew update # update brew local mirror

clean

$ brew cleanup # delete old and cache files
$ brew cleanup -n # list what will be cleaned up

homepage

$ brew home httpie # visit httpie's homepage

list

$ brew list

check info

$ brew info httpie

also

As we can see on the info page, packages are installed to /usr/local/Cellar/ folder.

The normal flow is: update -> upgrade -> cleanup.


comments powered by Disqus