# pan update — Self-Update
Updates pan to the latest version using `cargo install`.
## Usage
```
pan update [OPTIONS]
```
## Options
| `-f`, `--force` | Re-install even when already up to date |
| `--guide` | Show this guide |
## Behavior
Runs `cargo install pandora-kit` to fetch and compile the latest version from crates.io.
## Requirements
- Rust/Cargo toolchain installed and in `PATH`.
## Examples
```bash
# Update to the latest version
pan update
# Re-install even if already on it
pan update --force
```
## Exit codes
| 0 | Update succeeded or already up to date |
| 1 | Update failed |