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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay