If you don’t already have homebrew installed on your Mac, get it on there. It’s a tool we can use from the command line to install a whole bunch of stuff. Copy the code below and run it in a terminal (use the iTerm2 terminal you just installed)
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"