### Basic commands
`brew help` will show you the list of commands that are available.
`brew list` will show you the list of installed packages. You can also append formulae, for example `brew list postgres` will tell you of files installed by postgres (providing it is indeed installed).
`brew search <search term>` will list the possible packages that you can install. `brew search post` will return multiple packages that are available to install that have post in their name.
`brew info <package name>` will display some basic information about the package in question.
### How do I update my local packages?
First update all package definitions (formulae) and Homebrew itself:
```
brew update
```
You can now list which of your installed packages (kegs) are outdated with:
```
brew outdated
```
Upgrade everything with:
```
brew upgrade
```
Or upgrade a specific formula with:
```
brew upgrade <formula>
```
###### More info
[Homebrew basic commands](https://stackoverflow.com/questions/8833230/how-do-i-find-a-list-of-homebrews-installable-packages#9310304)
[How do I update my local packages](https://docs.brew.sh/FAQ#how-do-i-update-my-local-packages)
___
**Tags**: #homebrew