For Mac:
1. To install or update nvm
2. To verify that nvm has been installed, do:
1. To install or update nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
2. To verify that nvm has been installed, do:
command -v nvm
3. nano ~/bash_profile
4. source ~/.bash_profile
5. nvm
6. nvm install 10.21.0
7. nvm install 14.4.0
8. node -v (show the current one you are using)
9. If you want to see what versions are available to install:
nvm ls-remote
10. nvm use 10.21.0
Comments
Post a Comment