how to switch node version using npm 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: how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4