> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/on-premises/pt/instalacao/using-the-toolkit/1.-download-the-toolkit.md).

# 1. Descarregar o Toolkit

### A transferir o Toolkit <a href="#downloading-the-versions-toolkit-short" id="downloading-the-versions-toolkit-short"></a>

O Toolkit é compatível tanto com o Server CE como com o Overleaf Pro e é o método de instalação recomendado. Utilizar o Toolkit permitir-lhe-á começar facilmente com o Server CE e atualizar sem problemas para o Overleaf Pro, se necessário.

{% hint style="info" %}
[Ayaka-notes/overleaf-toolkit](https://github.com/ayaka-notes/toolkit) foi modificado para usar diretamente a imagem overleaf-pro do ghcr. Além disso, com o texlive fornecido por ayaka-notes. Mas pode transferir o toolkit oficial do overleaf.
{% endhint %}

{% stepper %}
{% step %}

### Clone o repositório do Overleaf Toolkit

Para instalar o toolkit, terá de navegar até ao caminho de instalação pretendido e depois clonar o repositório GitHub do Overleaf Toolkit (@Ayaka-notes) usando este comando:

{% code title="Clonar repositório" %}

```bash
git clone https://github.com/ayaka-notes/toolkit.git ./overleaf-toolkit
# toolkit oficial
# git clone https://github.com/overleaf/toolkit.git ./overleaf-toolkit
```

{% endcode %}

{% hint style="info" %}
Para evitar potenciais problemas de permissões, recomendamos instalar o Toolkit na pasta do seu utilizador `$HOME` .
{% endhint %}
{% endstep %}

{% step %}

### Mude para o diretório do toolkit

Espere que o processo de clonagem termine e depois vamos mudar para o recém-criado `overleaf-toolkit` diretório:

{% code title="Mudar de diretório" %}

```bash
cd ./overleaf-toolkit
```

{% endcode %}
{% endstep %}
{% endstepper %}


---

# 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, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/on-premises/pt/instalacao/using-the-toolkit/1.-download-the-toolkit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
