> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/skyone-studio/terminais-and-agente/agente/como-atualizar-a-versao-do-agente.md).

# Como atualizar a versão do Agente

É possível realizar o upgrade ou downgrade da versão do **"Agente"** nos sistemas operacionais Windows e Linux.

{% hint style="warning" %}
Recomendamos realizar o downgrade apenas se a versão atual apresentar algum problema.
{% endhint %}

Siga as instruções abaixo conforme o sistema operacional do seu dispositivo.

### Windows

#### Upgrade

Se houver uma versão mais recente disponível, siga estas etapas para atualizar o **"Agente"**:

1. Clique em “**Atualizações**”.
2. A nova versão será exibida na tela. Clique em “**Atualizar agora**”.

<figure><img src="https://2406186417-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGHvosl2xodpQaXzCzxY%2Fuploads%2FhNrs3ths8yXIyD8hzbLu%2Fimage.png?alt=media&amp;token=0f1e748d-76ec-4dda-a08f-c71e327b2326" alt=""><figcaption></figcaption></figure>

3. Siga as instruções do instalador para concluir a atualização.

#### Downgrade

Se o **"Agente"** já estiver na versão mais recente, você poderá fazer o downgrade para uma versão anterior:

1. Acesse o menu  “**Atualizações**”.
2. Na **Lista de Versões**, selecione a versão desejada.
3. Clique em “**Realizar Downgrade**”.
4. Confirme se deseja realizar o donwgrade.

<figure><img src="https://2406186417-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGHvosl2xodpQaXzCzxY%2Fuploads%2FscKIUNG6Xtx3joXx0jH9%2Fimage.png?alt=media&amp;token=7027165d-2d6f-4bf0-b88b-90e189ae6cf4" alt=""><figcaption></figcaption></figure>

5. Siga as instruções do instalador para completar a instalação.

### Linux

Para atualizar a versão do **"Agente"** no Linux, utilize o seguinte comando:

```
                                  check-updates
```

#### Upgrade

1. Se houver uma nova versão disponível, o comando `check-updates` indicará a versão mais recente e perguntará se deseja prosseguir com a instalação.
2. Confirme com `Y` (sim) para iniciar o download e a instalação, ou digite `n` (não) para cancelar.

<figure><img src="https://2406186417-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGHvosl2xodpQaXzCzxY%2Fuploads%2FgJSKGCCua11WAv6yUcIz%2Fimage.png?alt=media&amp;token=6a36669b-7ea7-477f-958c-9dc4cc84841f" alt=""><figcaption><p>Processo do Download</p></figcaption></figure>

3. Ao confirmar, o processo de atualização ocorrerá automaticamente.

#### Downgrade

Se o Agente estiver na versão mais recente, você poderá realizar o downgrade para uma versão anterior:

1. Execute o comando `check-updates`.
2. Confirme com `Y` para realizar o downgrade, ou digite `n` para cancelar.
3. Após confirmar, será exibida uma lista com as cinco últimas versões disponíveis. Escolha a versão desejada digitando um número de 1 a 5.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXewVdQegsvoIuZaLQk5QJ6CdA599wdE5mMt1U4AjDO5JPzrMFFeIBRySJ9bkp1GIH70l4GoSD96UCM-kvF_-lfYMcKeO2n8hDLVrybrVN6kWC_4HY1JsO4J8fWwkYKYVeDRLon75Mk_kV9Y9XgDcn2CcCA?key=xrNDIGZc204G0KDHykBCJaYo" alt=""><figcaption><p>Lista de versões anteriores</p></figcaption></figure>

4. O **Agente"** fará o download e instalação da versão selecionada automaticamente, sem necessidade de intervenção adicional.


---

# 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.skyone.cloud/skyone-studio/terminais-and-agente/agente/como-atualizar-a-versao-do-agente.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.
