# Update LangBot

Source: https://langbot.app/docs/en/deploy/update

Update LangBot to the latest version. Upgrade your self-hosted AI chatbot platform safely with these steps.

## Using Package Manager

Please execute in the directory you deployed LangBot again:

```bash
uvx langbot@latest
```

This command will download and start the latest version of LangBot.

## Using Docker (or one-click deployment based on Docker)

Please execute in the directory you cloned LangBot:

```bash
git pull
```

Please execute in the `docker/` directory:

```bash
docker compose up --force-recreate --pull always -d
```

This command will pull the latest LangBot image and rebuild the container.

> info:
>
> 4.3.0 version changed the content and location of the `docker-compose.yaml` file, if you updated from a previous version, please [redploy according to the documentation](https://langbot.app/docs/en/deploy/langbot/docker.md).

## Manual Deployment

Download the latest release's `langbot-<version>-all.zip` from the Assets section on the [Releases](https://github.com/langbot-app/LangBot/releases) page, extract it to the original deployment directory, and restart.
