# Commands (https://optakt.ai/docs/commands)

## On your agent's machine [#on-your-agents-machine]

| Command | What it does |
| --- | --- |
| `curl -fsSL https://get.optakt.ai \| bash` | Installs, or upgrades an existing installation |
| `optakt` | Opens the [admin app](/docs/admin-app) |
| `optakt --host <host> --port <port>` | Opens the admin app on another machine |
| `sudo optakt install` | Runs the installer, or continues one that stopped |
| `sudo optakt upgrade` | [Upgrades](/docs/upgrade) to the newest release your licence allows |
| `sudo optakt tune` | Tunes an Optakt-managed database, restarting it if needed. For a server you manage, it sets database-local values and reports server-wide changes for you to apply |
| `sudo optakt fingerprint` | Prints the certificate fingerprint for remote access |
| `optakt version` | Prints the version |
| `optakt help [command]` | Prints help |

On a Mac, run them without `sudo`.

`optakt-secret` is installed beside the service. Your agent's commands use it to fill in a credential; it is not meant to be run by hand.

## In the chat [#in-the-chat]

Each of these applies to the conversation you send it in. Sent on its own, it shows the current setting with a menu.

| Command | What it sets |
| --- | --- |
| `/model` | The model |
| `/thinking` | Whether the model thinks before answering |
| `/effort` | How hard it thinks |
| `/budget` | How many tokens it may think with |
| `/maxoutput` | The longest answer it may write |
