How to run multiple node versions in a computer?

Solution is to use Node Version Manager (nvm) which helps manage multiple version of node versions.

$ curl -o- | bash

To see the list of all available nvm versions,
$ nvm ls-remote

Currently, Node v6.11.1 has the long term support (Latest LTS: Boron). We will setup that first version

$ nvm install 6.11

The above command will install Node.js version 6.11.x (where x will be the last available version number)

To find where the node version is installed, type
$ nvm which 6.11

As of this writing, the latest version available is v8.1.4

$ nvm install 8.1.4

When nvm installs the corresponding npm package also gets installed.

You can switch between different versions of the node by typing

$ nvm use 6.11.1


$ nvm use 8.1.4

To list all the available versions of installed node versions, type

$ nvm ls

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

YEOMAN – Yo, Grunt, Bower – Power tools for front-end developers

Yeoman is a tool for modern workflow to aid front-end web application development. Yeoman consists of three tools to manage this workflow and has generators available for Angular, Backbone and a collection of over 100+ other projects

+ Grunt – It is the builder and utility component that helps automate repitive tasks, script minification, javascript task compiler, compiling sass, coffee script
+ Yo – It is the code generator component that helps in scaffolding, writing boilerplate code, install some grunt tasks
+ Bower – It is the package manager for web and it helps fetch javascript library and/or javascript/css frameworks and its dependencies. This is similar to Maven for java.
Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Kurinchi Calendar
May 2018
« Oct