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

# Updating

> Keep Bolly up to date across all installation methods

## From the web UI

Bolly checks for updates automatically every 5 minutes. When a new version is available, an update indicator appears in the bottom-left corner of the interface next to the version number. Click it to apply the update — Bolly downloads the new binary, restarts itself, and reloads the page automatically.

You can also click the version label (e.g., `v0.24.0`) at any time to open the changelog panel, which shows release notes and lets you switch between the stable and nightly channels.

## One-line install

The simplest way to update is to run the install script again:

```bash theme={null}
curl -fsSL https://bollyai.dev/install.sh | bash
```

The script detects your existing installation and performs an in-place upgrade. Your config, memories, conversations, and drops are preserved.

### Built-in update command

The installer also creates a lightweight update script at `~/.bolly/bin/update`. It checks whether a newer version is available and downloads it in place:

```bash theme={null}
~/.bolly/bin/update
```

After updating, restart the service to apply:

```bash theme={null}
bolly restart
```

### Check your current version

```bash theme={null}
cat ~/.bolly/bin/.version
```

## Docker

Pull the latest image and recreate the container:

<CodeGroup>
  ```bash Docker Compose theme={null}
  docker compose pull
  docker compose up -d
  ```

  ```bash Docker CLI theme={null}
  docker pull ghcr.io/triangle-int/bolly:latest
  docker rm -f bolly
  docker run -d \
    --name bolly \
    -p 26559:26559 \
    -v bolly-data:/data \
    -e BOLLY_HOME=/data \
    --restart always \
    ghcr.io/triangle-int/bolly:latest
  ```
</CodeGroup>

<Tip>Your data is stored in the `bolly-data` volume and persists across container updates.</Tip>

The Docker entrypoint also checks for updates on each container start. To pin a specific version, replace `:latest` with a version tag (e.g., `ghcr.io/triangle-int/bolly:0.24.0`).

## Desktop app

The desktop app checks for updates automatically. When a new version is available, you'll see a notification in the app.

You can also manually download the latest version from the [releases page](https://github.com/triangle-int/bolly/releases).

## From source

Pull the latest changes and rebuild:

```bash theme={null}
cd bolly
git pull origin main

# Rebuild the client
cd client
pnpm install
pnpm build

# Rebuild the server
cd ../server
cargo build --release
```

Then restart Bolly to use the new build.

## Release channels

Bolly supports two release channels:

| Channel     | Description                                    | Stability        |
| ----------- | ---------------------------------------------- | ---------------- |
| **stable**  | Default. Published releases only.              | Production-ready |
| **nightly** | Latest builds from `main`. Updated frequently. | May contain bugs |

### Switch channels from the web UI

Open the changelog panel by clicking the version label in the bottom-left corner. Use the channel selector to switch between **stable** and **nightly**. The next update check will use the new channel.

### Switch channels from the terminal

Set `BOLLY_CHANNEL=nightly` when installing or updating:

```bash theme={null}
BOLLY_CHANNEL=nightly curl -fsSL https://bollyai.dev/install.sh | bash
```

Or when using the built-in update command:

```bash theme={null}
BOLLY_CHANNEL=nightly ~/.bolly/bin/update
```

To switch back to stable:

```bash theme={null}
BOLLY_CHANNEL=stable curl -fsSL https://bollyai.dev/install.sh | bash
```

<Warning>Nightly builds are built from the latest code and may contain breaking changes or bugs. Use stable for production.</Warning>

## What's new

Click the version label in Bolly's web interface to view the changelog, or check the [GitHub releases](https://github.com/triangle-int/bolly/releases) page.
