I followed this process for installing Node on M1 Mac Mini.
First I run this command to install xCode Command Line Tools:
sudo xcode-select --install
Next I run this command to create a bash_profile:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
Next I run this command to install node
nvm install v15
Now in both the Mac Terminal and VS Code Terminal, if I try node -v or nvm -v when using zsh I get a command not found response. When in bash it works fine.
Have I done something completely wrong? Or most likely, I'm missing a very obvious point?
Any assistance will be gratefully received.
I managed to get this working by creating a .zshrc file and pasting the following into the file source /Users/YOUUSERNAME/.bash_profile.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With