$ brew search httpie
$ brew search cask

$ brew install httpie # if just a command
$ brew cask wewechat # if is an app
$ brew outdated
$ brew upgrade # upgrade all packages
$ brew upgrade httpie # update specific package
$ brew update # update brew local mirror
$ brew cleanup # delete old and cache files
$ brew cleanup -n # list what will be cleaned up
$ brew home httpie # visit httpie's homepage
$ brew list
$ brew info httpie

As we can see on the info page, packages are installed to /usr/local/Cellar/ folder.
The normal flow is: update -> upgrade -> cleanup.