# Installation on Windows

1. Go to <https://github.com/stakpak/agent/releases>
2. Download the [stakpak-windows-x86\_64.zip](https://github.com/stakpak/cli/releases/download/v0.1.26/stakpak-windows-x86_64.zip) of the latest release.
3. Unzip the folder and open your cmd in the same directory.
4. Create an API key from your Stakpak console [Manage API Keys](/docs/api/manage-api-keys.md)
5. Login to Stakpak CLI.

```bash
stakpak.exe login --api-key $STAKPAK_API_KEY
```

6. Confirm the login by viewing your account.

```bash
stakpak.exe account
```

7. Stakpak CLI is now ready to use.

```
stakpak.exe -h
```

<figure><img src="/files/xO4Ugj3BKj2Lheu5vu0i" alt="" width="375"><figcaption><p>Stakpak CLI on Windows</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stakpak.gitbook.io/docs/get-started/install-stakpak/installation-on-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
