Install Homebrew: http://brew.sh
Open Terminal
Install dependencies
brew install node@16 git python3
Add NodeJS to PATH:
echo 'export PATH="/usr/local/opt/node@16/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
For machines using the M1 architecture:
Use the latest NodeJS@16 (>=v16.16)
Update Xcode to latest version (>=v13.4.1)
Did you find what you were looking for?