My current version is 12.22.12. How to update to version 16?
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