to switch to another version of node js code example
Example 1: use a specific version of node
nvm use {Node version}
Example 2: how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4
nvm use {Node version}
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4