I installed NVM and then installed a few versions of Node. I added the following to the ~/.zshrc file (I had to create it as it didn\'t exist before):
~/.zshrc