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

# Upgrading

> Learn how to upgrade Cachet to the latest version.

## Overview

If you've installed Cachet using Git, the upgrade process should be straightforward, usually taking just a few minutes.

## Maintenance mode

It's good practise to put your status page into maintenance mode. This changes your status page to show a "Maintenance Mode" message until the upgrade has completed.

Run the snippet from your Cachet's root directory (where an `artisan` file exists):

```bash theme={null}
php artisan down
```

## Fetch latest code

Upgrading with Git is as easy as:

```bash theme={null}
git fetch origin
git tag -l
git checkout LATEST_TAG
```

## Upgrading dependencies

Next, we need to upgrade our dependencies. These usually contain bug fixes, performance enhancements and new features.

Run the snippet from your Cachet's root directory (where an `artisan` file exists):

```bash theme={null}
composer install --no-dev -o
```

## Update Cachet

We now need to instruct Cachet to run any pending updates:

```bash theme={null}
php artisan app:update
```

## Turn off maintenance mode

Finally, we can turn off maintenance mode:

```bash theme={null}
php artisan up
```
