Installing and using a package manager
The easiest way to install software on a Linux, macOS, or Windows laptop is to use a good package manager. On macOS, most people use Homebrew, while on Windows, Chocolatey is a good choice. If you’re using a Debian-based Linux distribution such as Ubuntu, then the package manager of choice for most is apt
, which is installed by default.
Installing Homebrew on macOS
Homebrew is the most popular package manager on macOS, and it is easy to use and very versatile. Installing Homebrew on macOS is simple; just follow the instructions at https://brew.sh/:
- In a nutshell, open a new Terminal window and execute the following command to install Homebrew:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Once the installation has finished, test whether Homebrew is working by entering
brew --version
in the Terminal. You should see something like this:$ brew --versionHomebrew...