change node version using nvm code example
Example 1: nvm change version
nvm use <version>
Example 2: several node versions
several node versions
Example 3: use a specific version of node
nvm use {Node version}
Example 4: change node version
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
Example 5: how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4