| Be the first user to complete this post  | Add to List | 
set the default node version using nvm
If you are using nvm for managing nodejs(which is the recommended way), you can easily ensure that the same version of nodejs is available in all terminal windows or tabs. Below are some helpful commands to achieve that. To check your current, active node version
node --version
nvm ls
nvm install v7.3.0
nvm alias default v7.3.0
Also Read:
- Access the request body of a post request in your nodejs - expressjs app.
- Setup nginx with multi domain websites running on nodejs
- Understanding nodejs module exports and require
- Configure The 'script' tag In package.json To Run Multiple Commands
- What is an npmignore file and what is it used for
 
    