node-version : Get NodeJS current version. You can installing node-version npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install node-version $ sudo npm install -g node-version
If want to update the node-version package execute the command as below,
$ sudo npm update node-version
Update package globally,
$ npm install -g node-version
$ sudo git clone https://github.com/rektide/node-version.git
$ sudo npm install -g ./node-version
node-version@1.1.0 /usr/lib/node_modules/node-version
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall node-version
Package Name | node-version |
Version | 1.1.0 |
Description | Get NodeJS current version |
Released Date | 2017-07-27T12:41:06.955Z |
Published by | srod |
How to Learn | https://www.npmjs.com/package/node-version/tutorial |