> ## Documentation Index
> Fetch the complete documentation index at: https://docs.recasaos.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Update ReCasaOS

> Open Settings, and under Updates click Update when a new version is available; or let the box update itself at night.

Click **Settings** in the top bar. Under **Updates**, *Current version* shows the release you run; when a newer one is out it says *A new version is available!* with an **Update** button. You can also let the box update itself at night.

![Updates: current version v0.5.264 with an Update button, Update channel set to Releases, Update automatically on between 03:00 and 05:00, System packages, Modules](https://mintcdn.com/recasaos/0EUiKpMQfjD-0cmb/images/get-started/settings-updates.png?fit=max\&auto=format\&n=0EUiKpMQfjD-0cmb\&q=85\&s=2949bc1fdae29036779838c29c6fbc4e)

The Updates column of the settings panel, with an update waiting and night updates on.

## Update now

**1. Open Settings, then look under Updates**

The dot next to *Current version* means an update is waiting. The box checks from time to time and keeps its last answer for 20 minutes; the round arrow next to the version (**Check for updates**) asks again now.

**2. Click Update**

The *ReCasaOS update* window lists **What changes** in the new release.

**3. Click Update now**

The window shows the update's log while it runs.

If an update fails, the installer puts the release you had back, so the box keeps running the version it ran before.

Optional modules (such as `virt` for virtual machines) are updated with the release when it carries a newer version of them. A module whose update fails is put back at its old version and keeps running.

## Update automatically

Turn on **Update automatically** and choose the hours: **Between** `03:00` **and** `05:00`, for example. New releases install at night, one day after they come out, never during a backup or an app operation.

## Pre-releases

**Update channel** sets what the **Update** button offers:

* **Releases**: only releases.
* **Pre-releases too**: the button also offers a pre-release newer than the last release, once it has passed the release checks.

The night's automatic update installs releases only, whatever the channel.

## Update from the command line

Run the install command again: on a box that already runs ReCasaOS, it updates it.

```bash theme={null}
curl -fsSL https://github.com/ReCasaOS/CasaOS-Install/releases/latest/download/install.sh | sudo bash
```

Then check the release you run:

```bash theme={null}
cat /var/lib/casaos/fork-release
```

## System packages and Docker

**System packages** (**Check**) updates the packages of the operating system itself. It leaves Docker out and shows it on a line of its own, because updating Docker restarts it and stops every container until it is back: see [Docker](https://docs.recasaos.org/get-started/requirements.md#docker).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.