set default node version using nvm in macbook code example Example: set default version of node nvm // set default version of node nvm alias default 6.9.2