DEV Community

Cover image for How to Setup elasticsearch on Windows
Yusuf Ganiyu
Yusuf Ganiyu

Posted on

2

How to Setup elasticsearch on Windows

Hi guys and welcome to another episode of the Elasticsearch series. In case you missed my previous series on How to Create a Full Autocomplete Search Application with Elasticsearch and NestJS, you can catch up here.

In this article, I will be showing you how to setup elastic search on Microsoft Windows. PS: This process works on Microsoft Windows 8 and above :).

Running Elasticsearch on Windows

Navigate to the elasticsearch download page and choose windows from the dropdown, then click on the Download button (as shown below)

elasticsearch download page

Extract the downloaded file and navigate into the elasticsearch-8.4.3 folder (your version may be higher, but the process remains the same!)

extracting elasticsearch

In the bin folder, click on elasticsearch.bat
elasticsearch bin folder

Once you've done that, you should see something like this:
Elastic password and enrolment token

On your browser, navigate to https://localhost:9200, you will be asked for username and password. By default username is elastic and password is shown on your terminal above

navigating to elasticsearch on browser

Once you input the right username and password, you should see this welcome page. This page shows you some information about elasticsearch installed on your computer.
Welcome page

That's it!

Elasticsearch is up and running on your windows machine! Yay!

Thanks for reading.

Image of AssemblyAI tool

Challenge Submission: SpeechCraft - AI-Powered Speech Analysis for Better Communication

SpeechCraft is an advanced real-time speech analytics platform that transforms spoken words into actionable insights. Using cutting-edge AI technology from AssemblyAI, it provides instant transcription while analyzing multiple dimensions of speech performance.

Read full post

Top comments (0)

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay