> For the complete documentation index, see [llms.txt](https://docs.farmstack.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.farmstack.co/deploying-farmstack/installing-prerequisites.md).

# Installing Prerequisites

## Deployment on Linux, MacOS and Windows (with WSL2)

* Install Docker on your system according to OS:
  * [Docker Desktop for MacOS and Windows](https://www.docker.com/products/docker-desktop)
  * [Docker install on Ubuntu](https://docs.docker.com/engine/install/ubuntu/)
* For Ubuntu, also install docker-compose:

```bash
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```

* Install the dependencies on ubuntu:

```bash
sudo apt install python3-pip python3-venv
```


---

# 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 dynamically by asking a question.

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

```
GET https://docs.farmstack.co/deploying-farmstack/installing-prerequisites.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.
