21 lines
479 B
Plaintext
21 lines
479 B
Plaintext
[[installation]]
|
|
== Installation
|
|
|
|
This page guides you through the installation process of the client.
|
|
|
|
To install the latest version of the client, run the following command:
|
|
|
|
[source,sh]
|
|
----
|
|
npm install @elastic/elasticsearch
|
|
----
|
|
|
|
To install a specific major version of the client, run the following command:
|
|
|
|
[source,sh]
|
|
----
|
|
npm install @elastic/elasticsearch@<major>
|
|
----
|
|
|
|
To learn more about the supported major versions, please refer to the
|
|
<<js-compatibility-matrix>>. |