You'll need to install https://brew.sh (a Mac software manager) if you haven't already. This will let you download various packages on from the terminal with ease!
You may first need to install Mac commandline tools. These usually come with the very large Xcode software development package. But you can just install the commandline tools: Open up the terminal app and enter the following command