> For the complete documentation index, see [llms.txt](https://dcli.onepub.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dcli.onepub.dev/dcli-tools-1/upgrade-dcli.md).

# Upgrade DCli

When a new version of DCli is released you will want to upgrade to the latest version.

Any of your scripts which use DCli will need to have their pubspec.yaml manually updated pubspec.yaml with the new version of dcli.

Once you have updated the version you need to run pub upgrade:

```
dart pub upgrade
```

If you are using the DCli tools then you will need to upgrade the tools:

We run the same process as we did when installing DCli to upgraded it.

```
dart pub global activate dcli
dcli install
```
