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