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

# formae clean

> Clean up old formae software versions. Reference for formae clean and its flags.

Clean up old software versions left behind by [`formae update`](/documentation/reference/cli/update).

```bash theme={"languages":{"custom":["/languages/pkl.json"]}}
formae clean [flags]
```

### Examples

```bash theme={"languages":{"custom":["/languages/pkl.json"]}}
formae clean
formae clean --all
```

## Flags

| Flag               | Default | Description                  |
| ------------------ | ------- | ---------------------------- |
| `--all`            | `false` | Also remove update metadata. |
| `--config <path>`  |         | Path to a config file.       |
| `--profile <name>` |         | Named profile to use.        |
