tern : A JavaScript code analyzer for deep, cross-editor language support. You can installing tern 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 tern $ sudo npm install -g tern
If want to update the tern package execute the command as below,
$ sudo npm update tern
Update package globally,
$ npm install -g tern
$ sudo git clone https://github.com/rektide/tern.git
$ sudo npm install -g ./tern
tern@0.21.0 /usr/lib/node_modules/tern
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall tern
| Package Name | tern |
| Version | 0.21.0 |
| Description | A JavaScript code analyzer for deep, cross-editor language support |
| Released Date | 2017-02-18T21:35:38.358Z |
| Published by | marijn |
| How to Learn | https://www.npmjs.com/package/tern/tutorial |