> ## Documentation Index
> Fetch the complete documentation index at: https://elementary-ele-2784-fix-alerts-configuration-links-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to upgrade Elementary?

On new releases, you will need to upgrade the Elementary CLI and the dbt package.

## Upgrade Elementary dbt package

1. On your `packages.yml` file, change the version to the latest:

```yml packages.yml
packages:
  - package: elementary-data/elementary
    version: < latest version >
```

2. Run the command:

```shell
dbt deps
```

3. If this is a change of minor version (like `0.4.X` -> `0.5.X`), run also:

```shell
dbt run --select elementary
```

## Upgrade Elementary CLI

Just run:

```shell
pip install elementary-data --upgrade
```
