homebrew
We start with the basics. If you work on MacOS, chances are you need homebrew
. It's a package manager (almost like dnf
in Fedora, or apt
in Ubuntu). We can go a long way with the commands below:
sh
# Install the latest stable version of a formula or cask
brew install <formula>
# List all installed formulae and casks:
brew list
# Upgrade an installed formula or cask
brew upgrade <formula>
# Fetch the newest version of Homebrew and of all formulae and casks from the Homebrew source repository:
brew update
# Search for available formulae (i.e. packages) and casks (i.e. native macOS `.app` packages):
brew search <text>
More info on their official website.