How to Install elasticsearch NPM Packages on Ubuntu / Debian

How to Install elasticsearch software package in NPM Packages

elasticsearch : The official low-level Elasticsearch client for Node.js and the browser.. You can installing elasticsearch 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 elasticsearch
$ sudo npm install -g elasticsearch

If want to update the elasticsearch package execute the command as below,

$ sudo npm update elasticsearch

Update package globally,

$ npm install -g elasticsearch

Git clone:

$ sudo  git clone https://github.com/rektide/elasticsearch.git
$ sudo  npm install -g ./elasticsearch

elasticsearch@14.0.0 /usr/lib/node_modules/elasticsearch

How to remove elasticsearch package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall elasticsearch

Basic Information of elasticsearch NPM Package:

Package Name elasticsearch
Version 14.0.0
Description The official low-level Elasticsearch client for Node.js and the browser.
Released Date 2017-11-14T22:49:23.960Z
Published by spalger
How to Learn https://www.npmjs.com/package/elasticsearch/tutorial