Elasticsearch

How to install Elasticsearch on Windows 10

In this tutorials, we will show how to install Elasticsearch on Windows 10 operating system.

Versions:

  • Windows 10 Pro, 64 bit
  • Elasticsearch 6.7.1

Prerequisites:

Elasticsearch requires Java 8 (or later) installation to run. If you haven’t installed Java yet, follow our previous article to install Java on Windows operating system.

Install Elasticsearch on Windows 10:

Follow the below steps to download and install Elasticsearch.

Get Elasticsearch:

Download the latest Elasticsearchthe from the official website. Usually, it will be available as a .zip file.

Install Elasticsearch on Windows 10 Operating system-min

Install Elasticsearch:

The elasticsearch-x.x.x.zip file will be download, upon clicking the above-highlighted URL.

Extract the downloaded file; then you would see the below folder structure.

Install Elasticsearch on Windows 10 Operating system Folder

/bin folder contains all binaries required to run Elasticsearch.

/config folder contains all configuration properties related to Elasticsearch, Java and user settings.

Start Elasticsearch:

Once the downloading process completed; now we can start the Elasticsearch from the command line.

Terminal
D:\softwares\elasticsearch-6.7.1\bin>elasticsearch.exe

If everything went well, the command line terminal would display output similar to the following:

Install Elasticsearch on Windows 10 Operating system output

Elasticsearch loads the configuration details from an elasticsearch.yml file while running it. If you wanted to change the configurations; you always free to change it from the elasticsearch.yml file or you can even provide as parameters while executing the elasticsearch.exe file.

Checking Elasticsearch is running:

You can test that your Elasticsearch node is running by sending an HTTP request to port 9200 on localhost:

Install Elasticsearch on Windows 10 Operating system Browser

References:

Happy Learning :)

Found a mistake or something out of date? Tell us →

Written by

chandrashekhar

Founder of onlinetutorialspoint.com. Enterprise architect with 15+ years in healthcare technology, designing and running systems on AWS and Azure. Writes about building real things with AI, local AI hardware and cloud certifications.

Keep reading

Ask a question or leave a comment

Our product

Preparing for an AWS, Azure or Google Cloud exam?

Take a free 20-question sample test with an explanation for every answer. No sign-up needed.

Start the free test