Run Elasticsearch locally
Elastic Stack
DO NOT USE THESE INSTRUCTIONS FOR PRODUCTION DEPLOYMENTS
The instructions on this page are for local development only. Do not use this configuration for production deployments, because it is not secure. Refer to deployment options for a list of production deployment options.
Quickly set up Elasticsearch and Kibana in Docker for local development or testing, using this one-liner in the command line.
This setup comes with a one-month trial license that includes all Elastic features.
- If you don’t have Docker installed, download and install Docker Desktop for your operating system.
- If you’re using Microsoft Windows, then install Windows Subsystem for Linux (WSL).
To set up Elasticsearch and Kibana locally, run the start-local
script in the command line:
curl -fsSL https://elastic.co/start-local | sh
After running the script, you can access Elastic services at the following endpoints:
- Elasticsearch: http://localhost:9200
- Kibana: http://localhost:5601
That's it! There's no step 2.
For more detailed information about the start-local
setup, refer to the README on GitHub. Learn about customizing the setup, logging, and more.
Use our quick start guides to learn the basics of Elasticsearch.