DEV Community

Discussion on: Nodenv Cheatsheet

Collapse
 
ahandsel profile image
ahandsel

Hello @kyleridolfo ,

I believe you can run npm install -g npm@10.3.0 as long as you have node v20.11.0 set globally.

In terms of steps:

  1. nodenv install 20.11.0
  2. nodenv global 20.11.0
  3. Restart terminal
  4. npm install -g npm@10.3.0

I hope this helps