# Step 1 - Install FusionAuth

Learn how to use FusionAuth by first installing it on your development machine.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

First, you need an instance of FusionAuth. The easiest place to install? The machine you are currently using to read this page.

Use the following Docker Compose commands to get up and running quickly with FusionAuth, PostgreSQL, and Opensearch:

1.  Install the prerequisites:
    
    *   On macOS and Windows, one of the following container management tools:
        *   [Docker desktop](https://www.docker.com/products/docker-desktop/)
        *   [OrbStack](https://docs.orbstack.dev/quick-start) (to use Orbstack for `docker compose` commands after install, run `docker context use orbstack`)
        *   [Podman](https://podman.io/docs/installation) (in the commands below, replace `docker` with `podman`)
    *   On Linux, [Docker](https://docs.docker.com/get-started/get-docker/) 23 or later
2.  Download the `docker-compose.yml` and `.env` files:
    
    ### macOS
    
    ```shell-session
    $ curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/docker-compose.yml > docker-compose.yml && \
    curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/.env > .env
    ```
    
    ### Linux
    
    ```shell-session
    $ curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/docker-compose.yml > docker-compose.yml && \
    curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/.env > .env
    ```
    
    ### Windows
    
    ```powershell
    Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/docker-compose.yml -OutFile docker-compose.yml
    Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/.env -OutFile .env
    ```
    
3.  Start the FusionAuth container:
    
    ```shell-session
    $ docker compose up -d
    ```
    
4.  Visit [http://localhost:9011/admin](http://localhost:9011/admin) to access the Admin UI.
    
5.  Congratulations, you have a working instance of FusionAuth! To set up login for an application, see our [First Time Setup guide](https://fusionauth.io/docs/get-started/download-and-install/setup.md).
    

## Open the web UI

Open a browser to [http://localhost:9011/admin](http://localhost:9011/admin) and you'll be presented with the FusionAuth login page. The installation instructions above used [Kickstart](https://fusionauth.io/docs/get-started/download-and-install/development/kickstart.md), which created an admin user:

*   Username: `admin@example.com`
*   Password: `password`

To log into the FusionAuth Admin UI, click the lock icon in the top right. The Admin UI helps you monitor and configure all of the users, roles, applications, and identity providers you'll use with FusionAuth.

Once you've thoroughly explored the UI, log out before proceeding to the next step. The next set of steps all work with an admin user, but it's better to demonstrate login and protected pages as a non-admin instead. To log out, click the Log out button in the top right.

## Next steps

[Step 2: Login Button \->](step-2)
---

## Other pages in Start Here

> For the full index of this section, see [Get Started](https://fusionauth.io/docs/llms-get-started.txt).

- [Product Tour](https://fusionauth.io/docs/get-started/start-here.md): An interactive tour of FusionAuth functionality.
- [Step 2 - Login Button](https://fusionauth.io/docs/get-started/start-here/step-2.md): Learn how to use FusionAuth by using an example application that has a login button defined.
- [Step 3 - Protected Pages](https://fusionauth.io/docs/get-started/start-here/step-3.md): Learn how to use FusionAuth by using an example application that has a protected page defined.
- [Step 4 - Role-Based Access Control](https://fusionauth.io/docs/get-started/start-here/step-4.md): Learn how to use FusionAuth by using an example application that has a protected page defined.
- [Step 5 - Session Management](https://fusionauth.io/docs/get-started/start-here/step-5.md): Learn how to use FusionAuth by using an example application that uses refresh tokens for session management.
- [Step 6 - Logout](https://fusionauth.io/docs/get-started/start-here/step-6.md): Learn how to use FusionAuth by using an example application with a logout button.
- [Step 7 - Testing](https://fusionauth.io/docs/get-started/start-here/step-7.md): Learn how to use FusionAuth in a local tests and a CI/CD system.
- [Step 8 - Finished](https://fusionauth.io/docs/get-started/start-here/step-8.md): Wrapping up the walk through with a ton of links.
