You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed nvm and than run nvm install latest. I then just couldn't use npm and it took me some time to figure out that in addition to install I need to run use.
If I look at nvm from a point of view where I'm only interested in keeping my node and npm installation uptodate, I only want to install nvm, run install latest and be done.
What I suggest is that nvm automatically runs use xy after install latest.
The text was updated successfully, but these errors were encountered:
Can definitely see the benefits. Changing this could have some consequences? Thinking of backward compatibility. Maybe a flag could be set? E.g. nvm install -u latest where -u would run the nvm use VERSION command after installation.
Another approach could be enhancing nvm use to install the version if the version isn't installed. Example, running nvm use latest would trigger NVM4W to check if a never version was available, install it, then use it.
I installed nvm and than run
nvm install latest
. I then just couldn't usenpm
and it took me some time to figure out that in addition toinstall
I need to runuse
.If I look at
nvm
from a point of view where I'm only interested in keeping mynode
andnpm
installation uptodate, I only want to installnvm
, runinstall latest
and be done.What I suggest is that nvm automatically runs
use xy
afterinstall latest
.The text was updated successfully, but these errors were encountered: