Mac Brew
Brew is the most used package manager for Mac (you can install Brew on Liux as well.
Brew greatly simplifies the installation of software on Macs & can install both command line tools such as kubectl (Kubernetes cli), language such as python & apps such as Visual Studio Code.
In addition, it also handles updating these software when a new version is released.
Installation
Brew instalation is very simple. You run this one line command in your terminal app:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Usage
There are two types of Brew apps:
- Packages, which can be installed with
brew install <package name>
. These will useually be cli tools or languages. - Cask Apps, which can be installed with
brew install --cask <app name>
. These will useually be MacOS apps.
To update your packages / apps, run brew update
(fetches the lateset Brew app lists / install scripts) & then run brew upgrade
(updates packages / apps you have previously installed with Brew).