KrOw
0
Q:

how to change node version

nvm install v10.15 //v10.15 is a version i want.
1
nvm use {Node version}
2
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
0
Usage:
nvm install <version>       Download and install a <version>
nvm use <version>           Modify PATH to use <version>
nvm ls                      List versions (installed versions are blue)
0
nvm use --delete-prefix $NODE_VERSION

example:
nvm use --delete-prefix v8.9.4
1
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
1

New to Communities?

Join the community