> ## 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.

<Info>
  `devbox expire` and `devbox destroy` are aliases for `devbox delete`.
</Info>

## Usage

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

  ```bash Alias theme={null}
  devbox expire [name] [flags]
  devbox destroy [name] [flags]
  ```
</CodeGroup>

## Examples

### Delete a named Devbox without confirmation

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

  ```bash Alias theme={null}
  devbox expire my-devbox --force
  devbox destroy my-devbox --force
  ```
</CodeGroup>

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

## Options

<ResponseField name="--force" type="boolean" default="false">
  Skip the name confirmation and delete the selected Devbox.
</ResponseField>

<ResponseField name="--show-all" type="boolean" default="false">
  Include Devboxes owned by other workspace members in selection and name lookup.
</ResponseField>

## Related topics

<Columns cols={2}>
  <Card title="Managing Devboxes" icon="settings" href="/docs/devbox/managing">
    Review the consequences of deleting a Devbox.
  </Card>

  <Card title="devbox stop" icon="power" href="/docs/reference/devbox-cli/stop">
    Stop a Devbox without deleting its persistent storage.
  </Card>
</Columns>
