switch node version code example
Example 1: check node version
node --version
//or
node -v
//v12.15.0
Example 2: find node version
node -v
OR
node --version
Example 3: switch node version
npm install -g n # Install n globally
n 0.10.33 # Install and use v0.10.33
Example 4: use a specific version of node
nvm use {Node version}
Example 5: how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4