# Updating RevDeBug server

When you have installed RevDeBug server using [Installing RevDeBug server](/revdebug/installing-revdebug-server.md) guide, updating it requires only three actions (all commands need to be executed in the cloned docker-compose project directory):

{% tabs %}
{% tab title="Default" %}

* Stopping RevDeBug server containers prior to upgrading:\
  `sudo docker compose -p revdebug down`
* Pulling new version of compose file from the git repository:\
  `git pull`
* Pull new versions of docker images:\
  `sudo docker compose -p revdebug pull`
* Starting new version of RevDeBug server containers:\
  `sudo docker compose -p revdebug up -d`
  {% endtab %}

{% tab title="Standalone" %}

* Stopping RevDeBug server containers prior to upgrading:\
  `sudo docker-compose -p revdebug down`
* Pulling new version of compose file from git repository:\
  `git pull`
* Pull new versions of docker images:\
  `sudo docker-compose -p revdebug pull`
* Starting new version of RevDeBug server containers:\
  `sudo docker-compose -p revdebug up -d`
  {% endtab %}
  {% endtabs %}

After confirming new version of RevDeBug server started, you may clean up old container images by executing: `sudo docker system prune`

&#x20; &#x20;


---

# 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://revdebug.gitbook.io/revdebug/updating-revdebug-server.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.
