node detect version code example
Example 1: check node version
node --version
//or
node -v
//v12.15.0
Example 2: node install specific version
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
node --version
//or
node -v
//v12.15.0
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash