> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing Midaz

> Install Midaz locally with Docker Compose — the full environment, Ledger and Console included, in just a few commands.

Midaz is a source-available ledger designed to be easy to run, extend, and test locally. You can install it with just a few commands using **Docker Compose**, which sets up the full environment in one go.

Whether you’re building something new or exploring how Midaz works under the hood, this guide walks you through the full setup process.

<Note>
  Midaz is now distributed as a single repository. No need to install the Ledger and Console separately.
</Note>

## System requirements

***

| Requirement          | Minimum                                                                                                                                                                          |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Operating System** | - **Windows**: Windows 10 **via WSL** version 2004 or later (Build 19041+) <br /> - **macOS**: Current or previous two versions <br /> - **Linux**: Ubuntu or Debian recommended |
| **RAM**              | 8 GB                                                                                                                                                                             |
| **Disk Space**       | 20 GB                                                                                                                                                                            |
| **Internet**         | Stable connection                                                                                                                                                                |
| **Browser**          | Chrome, Firefox, or equivalent                                                                                                                                                   |

## Tools you’ll need

***

* [Docker Desktop](https://docs.docker.com/get-docker/)
* [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
* [Postman](https://www.postman.com/downloads/) (optional)
* Package Manager:
  * macOS: [Homebrew](https://brew.sh/)
  * Linux: Use your system’s package manager (e.g., `apt`, `dnf`)

## On Windows? Install WSL

***

If you're using Windows, you must install WSL (Windows Subsystem for Linux) to run Midaz.

<Steps>
  <Step>
    Open PowerShell as an administrator.
  </Step>

  <Step>
    Run:

    <CodeGroup>
      ```bash Text theme={null}
      wsl --install
      ```
    </CodeGroup>
  </Step>

  <Step>
    Restart your machine if needed.
  </Step>

  <Step>
    Once installed, open the Ubuntu app from the Start Menu to continue the setup.
  </Step>
</Steps>

## Install Midaz

***

### Step 1 – Open your terminal

* **macOS/Linux:** Use your Terminal app.
* **Windows:** Open Ubuntu via WSL.

<Danger>
  If using Windows, **run all commands inside Ubuntu (WSL)**. Not familiar with terminals? Check out [this beginner guide](https://www.codecademy.com/learn/learn-the-command-line).
</Danger>

### Step 2 – Install `make`

* **Linux:**

  <CodeGroup>
    ```bash Text theme={null}
    sudo apt install make
    ```
  </CodeGroup>
* **macOS:**

  <CodeGroup>
    ```bash Text theme={null}
    brew install make
    ```
  </CodeGroup>

### Step 3 – Download the Midaz repo

<Steps>
  <Step title="Choose your working directory">
    <CodeGroup>
      ```bash Text theme={null}
      cd ~/Desktop
      ```
    </CodeGroup>
  </Step>

  <Step title="Clone the repo">
    <CodeGroup>
      ```bash Text theme={null}
      git clone https://github.com/LerianStudio/midaz.git
      ```
    </CodeGroup>
  </Step>

  <Step title="Enter the folder">
    <CodeGroup>
      ```bash Bash theme={null}
      cd midaz
      ```
    </CodeGroup>
  </Step>
</Steps>

### Step 4 – Set up environment variables

<CodeGroup>
  ```bash Bash theme={null}
  make set-env
  ```
</CodeGroup>

### Step 5 – Start the services

Make sure Docker is running, then:

<CodeGroup>
  ```bash Bash theme={null}
  make up
  ```
</CodeGroup>

All services, including the Console, will launch.

### Step 6 – Access your environment

* Ledger APIs: [http://localhost:3000](http://localhost:3000/)
* Midaz Console: [http://localhost:8081](http://localhost:8081/) (before Midaz v3.5)

<Danger>
  Make sure Docker is up and all .env files are properly set before opening the Console.
</Danger>

## Try the API

***

Want to explore the Midaz APIs?

<Steps>
  <Step>
    Go to `midaz/postman`.
  </Step>

  <Step>
    Import `MIDAZ.postman_collection.json` into Postman.
  </Step>

  <Step>
    Explore available endpoints.
  </Step>
</Steps>

<Tip>
  Ready to build? Start with our [Quick Start Guide](/en/reference/quick-start-guide).
</Tip>

## Authentication

***

By default, the community version of Midaz is open and does not require authentication. This makes local testing easier.

If you need authentication, use the [Access Manager](/en/platform/access-manager/access-manager) plugin, available for enterprise customers.

<Danger>
  Without authentication, we recommend running Midaz in a secured, private environment only.
</Danger>

## Community and contribution

***

* Join us on [Discord](https://discord.com/invite/DnhqKwkGv3).
* Report issues on [GitHub](https://github.com/LerianStudio/midaz).
* Follow [@LerianStudio](https://twitter.com/LerianStudio) on Twitter.

Want to contribute? Start with our [Contributing Guide](https://github.com/LerianStudio/midaz/blob/main/CONTRIBUTING.md).

<Tip>
  Need expert help? [Talk to our team](https://lerian.studio/contact) for hands-on support.
</Tip>

## License

***

Midaz is source-available, licensed under the [Elastic License 2.0](https://github.com/LerianStudio/midaz-console/blob/main/LICENSE.md).
