# AutoUpdater

The AutoUpdater is intended to support automatic updating of Duplicati. In the current version, the name is a bit misleading as it only supports checking for a new version, it does not yet support actually installing a new version automatically.

The binary is called `Duplicati.CommandLine.AutoUpdater.exe` on Windows and `duplicati-autoupdater` on Linux and MacOS.

To use the AutoUpdater, simply invoke it from the commandline:

```
duplicati-autoupdater check
```

This will check if there is a newer version available and remote the running version number.

It is also possible to download an updated installer package:

```
duplicati-autoupdater download
```

The download feature checks what [package](/installation-details/package-options.md) Duplicati is current installed with, and then obtains the most recent URL for that package and downloads it the the current directory. This feature only works if the installed package can be determined and there is an updated package available. If not, the download page is reported to the terminal for manual download.

## Environment variables

By default, Duplicati uses the domains `updates.duplicati.com` and `alt.updates.duplicati.com` to find updates. If you are running Duplicati within a controlled environment, you can use the environment variables to change where Duplicati is looking for the updates:

```
AUTOUPDATER_Duplicati_URLS=https://example.com/stable/latest.manifest
```

Duplicati will detect the `/stable/` part of the url and replace with the channel the user has chosen.

It is also possible to set the [channel](/installation-details/release-channels-and-versions.md) with an environment variable:

```
AUTOUPDATER_Duplicati_CHANNEL=canary
```


---

# 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://docs.duplicati.com/duplicati-programs/command-line-interface-cli-1/autoupdater.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.
