node --version //or node -v //v12.15.0

check node version

$ nvm ls

list all node versions mac

nvm use {Node version}

use a specific version of node

nvm use --delete-prefix $NODE_VERSION example: nvm use --delete-prefix v8.9.4

how to change node version

Similar Code Examples