upgrading npm

This commit is contained in:
Paul Trowbridge 2020-11-11 23:29:12 -05:00
parent 4004e79104
commit ff8ca65304

View File

@ -4,7 +4,7 @@ version management
## nvm ## nvm
can use nvm to manage nodejs versions. 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. 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 `exec bash` after install to refresh
@ -32,3 +32,5 @@ sudo npm cache clean -f
`npm install -g npm-windows-upgrade` `npm install -g npm-windows-upgrade`
or just download from the wesite or just download from the wesite
## npm
to update npm do `npm install npm@latest -g`