Home > Mobile >  how to update node version form 12 to 16 in debian?
how to update node version form 12 to 16 in debian?

Time:11-24

My current version is 12.22.12. How to update to version 16?

enter image description here

CodePudding user response:

Use nvm:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash

After installation:

nvm install 16

And finally, use your desired version:

nvm use 16

Confirm version:

node -v
  • Related