> For the complete documentation index, see [llms.txt](https://docs.uibakery.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uibakery.io/on-premise/install-and-update/installing-on-premise-version/windows-installation.md).

# Windows installation

UI Bakery supports running its self-hosted version on Windows OS.&#x20;

In order to install it, follow the steps below:

1. Install [Docker Desktop](https://docs.docker.com/desktop/setup/install/windows-install/).

{% hint style="warning" %}
Docker has updated its license agreement according to which the commercial use of **Docker Desktop** in larger enterprises (more than 250 employees OR more than $10 million USD in annual revenue) now requires a <mark style="color:blue;">paid subscription</mark>.
{% endhint %}

If you fall under this limitation, you can still [install Docker without Docker Desktop](https://www.paulsblog.dev/how-to-install-docker-without-docker-desktop-on-windows/) on Windows since this license update is not related to *Docker* or the *Docker Engine*.

2. Create a folder that will contain UI Bakery configuration files - `mkdir ui-bakery-on-premise`.
3. Change the current working directory to the`cd ui-bakery-on-premise` folder.
4. Download the `docker-compose.yml` configuration file:\
   `Invoke-WebRequest -Uri https://raw.githubusercontent.com/uibakery/self-hosted/main/docker-compose.yml -OutFile docker-compose.yml`.
5. Create `.env` file from the template below (use this [guide](/on-premise/install-and-update/recommendations/generate-custom-secrets.md) to generate the secrets):

```
UI_BAKERY_APP_SERVER_NAME=http://localhost:3030
UI_BAKERY_PORT=3030
UI_BAKERY_JWT_SECRET=<42 ALPHABET LETTER/NUMBER CHARACTERS>
UI_BAKERY_JWT_SERVICE_ACCOUNT_SECRET=<55 ALPHABET LETTER/NUMBER CHARACTERS>
UI_BAKERY_JWT_REFRESH_SECRET=<42 ALPHABET LETTER/NUMBER CHARACTERS>
UI_BAKERY_CREDENTIALS_SECRET=<32 ALPHABET LETTER/NUMBER CHARACTERS>
UI_BAKERY_TEMPLATE_MAKER_PASSWORD=<SECURE PASSWORD TO ACCESS UI BAKERY TEMPLATE MAKER ACCOUNT>
UI_BAKERY_LICENSE_KEY=<YOUR LICENSE KEY RECEIVED FROM UI BAKERY TEAM>
```

6. Replace placeholders in the `.env` file with the appropriate secrets you generated.
7. Pull the containers and run them using the following command - `docker compose up -d`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uibakery.io/on-premise/install-and-update/installing-on-premise-version/windows-installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
