# tuist clean

Clean all the artifacts stored locally

## Arguments

### clean-categories `Optional`

**Environment variable** `TUIST_CLEAN_CLEAN_CATEGORIES`

The cache and artifact categories to be cleaned. If no category is specified, everything is cleaned.

```bash
tuist clean [clean-categories]
```

### remote `Optional`

**Environment variable** `TUIST_CLEAN_REMOTE`

Clean the remote cache

```bash
tuist clean --remote
```

### no-remote `Optional`

**Environment variable** `TUIST_CLEAN_REMOTE`

Clean the remote cache

```bash
tuist clean --no-remote
```

### path `Optional`

**Environment variable** `TUIST_CLEAN_PATH`

The path to the directory that contains the project that should be cleaned.

```bash
tuist clean --path [path]
tuist clean -p [path]
```
