Difference between revisions of "Js/Node/NVM/installing"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
− | ==On Windows== | + | : ==On Windows== |
* Go to: https://github.com/coreybutler/nvm-windows | * Go to: https://github.com/coreybutler/nvm-windows | ||
* Click the download link | * Click the download link |
Revision as of 14:49, 19 October 2020
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