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.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay