change default node version with npm code example Example: set default version of node nvm // set default version of node nvm alias default 6.9.2