From ff8ca65304c4719a0e8f9cd746591b3f0bff43db Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 11 Nov 2020 23:29:12 -0500 Subject: [PATCH] upgrading npm --- nodejs/nodejs.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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`