# Update Bot

Keep your FOMO bot up-to-date with the latest features and bug fixes. This command downloads and extracts the latest release directly from GitHub.

Run the command below **from the same folder** as the `FOMO` binary. This will overwrite existing source files with the new version.

```shell
./FOMO update
```

**Important:** Stop the bot before updating. Then restart service once update is complete. E.g.:

```shell
systemctl stop fomo
./FOMO update
systemctl restart fomo
```

**Upgrade to specific version**

To upgrade (or downgrade) to a specific version, use the `--version` flag:

```shell
./FOMO update --version 0.1.1
```
