# Commands

You use Catervas from the dashboard. The `catervas` command exists to start and stop Catervas, and to manage its data.

| Command | What it does |
| --- | --- |
| `catervas start` | Starts Catervas in the background and opens the dashboard. Add `--no-open` to print only the link. If Catervas already runs but does not answer, the command says so instead. |
| `catervas open` | Opens the dashboard again. |
| `catervas status` | Says whether Catervas runs, and lists your agents. |
| `catervas stop` | Stops Catervas. Agents that run at that time continue to run. If Catervas does not stop within 10 seconds, the command says so and names the process to end. |
| `catervas doctor` | Checks the setup and says what needs a fix. |
| `catervas backup` | Makes a backup of Catervas's data. |
| `catervas backups` | Lists the backups. |
| `catervas restore <name>` | Restores a backup. Stop Catervas first. |

## When you run Catervas from the repository

| Script | What it does |
| --- | --- |
| `scripts/start.sh` | Installs what Catervas needs, builds it and starts it. You can safely run it again after you pull changes. |
| `scripts/stop.sh` | Stops every agent and Catervas, and removes the Docker containers and networks that Catervas created. |

## Removing the `catervas` command

```bash
catervas stop
npm uninstall -g catervas
```

These commands leave your data in place. [Your data and backups](/guide/data-and-backups) says where it is.
