Type to search.

Elasticsearch local development quickstart

Self-managed

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Warning

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 Elasticsearch features.

As an alternative, you can also explore Elasticsearch and Kibana by signing up for a free Elastic Cloud trial.

  • Install Docker Compose.

    In most cases, you need to install Docker Desktop or Docker Engine to access Docker Compose.

    Docker Compose V2 or later is recommended, and is included in Docker Desktop 3.4 and later, and Docker Engine 20.10.13 or later.

    The minimum supported version of Docker Compose is 1.29.0.

  • 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:

Shell
curl -fsSL https://elastic.co/start-local | sh

After running the script, you can access Elastic services at the following endpoints:

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.