_partials/macos_homebrew.md
Homebrew is a package manager: it's a software used to install other software from the command line. Let's install it!
Open a terminal and run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
This will ask for your confirmation (hit Enter) and your macOS user account password (the one you use to log in when you reboot your Macbook).
:warning: When you type your password, nothing will show up on the screen, that's normal. This is a security feature to mask not only your password as a whole but also its length. Just type your password and when you're done, press Enter.
:warning: If you see this warning :point_down:, run the two commands in the Next steps section to add Homebrew to your PATH:
# ⚠️ Only execute these commands if you saw this warning ☝
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
If you already have Homebrew, it will tell you so, that's fine, go on.
Then install some useful software:
brew update
If you get a /usr/local must be writable error, just run this:
sudo chown -R $USER:admin /usr/local
brew update
Proceed running the following in the terminal (you can copy / paste all the lines at once).
brew upgrade git || brew install git
brew upgrade gh || brew install gh
brew upgrade wget || brew install wget
brew upgrade imagemagick || brew install imagemagick
brew upgrade jq || brew install jq
brew upgrade openssl || brew install openssl