Js/Node/NVM/installing
Jump to navigation
Jump to search
On Mac
- The easiest way is to use homebrew (a package manager for mac)
- go to: https://brew.sh/
- There should be a shell script on the home page. Copy this text to your clipboard
- open your terminal
- paste the code from the homebrew website
- hit enter
- wait for the installation to compplete
- run:
brew update
brew install nvm
If you get "command not found"
- Open/create your bash profile:
- sudo nano ~/.bash_profile
- (opens the file in nano)
- add the following:
- export NVM_DIR="$HOME/.nvm"
- . "/usr/local/opt/nvm/nvm.sh"
- sudo nano ~/.bash_profile
On Windows
- Go to: https://github.com/coreybutler/nvm-windows
- Click the download link
- Download the zip of you choice
- nvm-noinstall is for USB keys (i think)
- just use nvm-setup
- Install (if applicable)
- if so, restart the computer