> 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/quick-start/deploy-farmstack.md).

# Deploy Farmstack

## Quick deployment on Ubuntu

* Running this command will install Docker automatically on Ubuntu, if it is not available.

```bash
curl https://raw.githubusercontent.com/digitalgreenorg/farmstack-open/main/scripts/install.sh > fs-install.sh && bash fs-install.sh
```

## Deployment on Ubuntu, 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/)
* Clone the repository and open it.
* Run the setup.py file using python3

```bash
git clone https://github.com/digitalgreenorg/farmstack-open.git
cd farmstack-open
python3 setup.py
```

After the setup is done, you can view the connector setup UI at: <http://localhost:8000>.

## Next steps

{% content-ref url="/pages/-Mfe3434Q89Btz5X8AmJ" %}
[Setting up Self-Managed Connectors](/deploying-farmstack/setting-up-self-managed-connectors.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MfdAtPNNbxT1ScTJsaC" %}
[Configuring a connector with CSV](/operation-guides/creating-a-connector-with-csv.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MfdY-WXSKTGsF45YPVa" %}
[Install a dockerized application with connector](/operation-guides/install-a-nodejs-application-with-connector.md)
{% endcontent-ref %}


---

# 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/quick-start/deploy-farmstack.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.
