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

# devbox delete

> Delete a Devbox.

Use `devbox delete` to permanently delete a Devbox and its persistent storage. If you omit the name, the CLI opens an interactive Devbox picker.

> [!NOTE]
>
> `devbox expire` and `devbox destroy` are aliases for `devbox delete`.

## Usage

```bash Canonical theme={null}
devbox delete [name] [flags]
```

```bash Alias theme={null}
devbox expire [name] [flags]
devbox destroy [name] [flags]
```

## Examples

### Delete a named Devbox without confirmation

```bash Canonical theme={null}
devbox delete my-devbox --force
```

```bash Alias theme={null}
devbox expire my-devbox --force
devbox destroy my-devbox --force
```

```text Output nocopy theme={null}
done.
```

## Options

**--force** `boolean` (default: false)

Skip the name confirmation and delete the selected Devbox.

**--show\_all** `boolean` (default: false)

Include Devboxes owned by other workspace members in selection and name lookup.

## Related topics

> [card] [Devbox Lifecycle](https://namespace.so/docs/devbox/lifecycle.md#deleting)
>
> Review the consequences of deleting a Devbox.

> [card] [devbox stop](https://namespace.so/docs/reference/devbox-cli/stop.md)
>
> Stop a Devbox without deleting its persistent storage.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.