diff --git a/nodejs/nodejs.md b/nodejs/nodejs.md index 282d268..7fc7b90 100644 --- a/nodejs/nodejs.md +++ b/nodejs/nodejs.md @@ -4,7 +4,7 @@ version management ## nvm can use nvm to manage nodejs versions. -not really sure how this works, but it is per user and operates off bash scripts and variables ¯\_(ツ)_/¯ +not really sure how this works, but it is per user and operates off bash scripts and variables going to have to pull from github. It will curl to clone the repo and then add some stuff to your bashrc to make it work. `exec bash` after install to refresh @@ -32,3 +32,5 @@ sudo npm cache clean -f `npm install -g npm-windows-upgrade` or just download from the wesite +## npm +to update npm do `npm install npm@latest -g`