Skip to content

Instantly share code, notes, and snippets.

@atereshkov
Last active November 26, 2022 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atereshkov/0573e710a38b8b91d2656d66e87e7915 to your computer and use it in GitHub Desktop.
Save atereshkov/0573e710a38b8b91d2656d66e87e7915 to your computer and use it in GitHub Desktop.
Installing Node.js and npm on MacOS
https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
Run nvm installation script.
https://github.com/nvm-sh/nvm#install--update-script
If you get nvm: `command not found` after running the install script, troubleshoot it.
https://github.com/nvm-sh/nvm#troubleshooting-on-macos
This worked in my case on zsh:
You might need to restart your terminal instance or run `. ~/.nvm/nvm.sh`.
`nvm install 16`
`nvm use 16`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment