---
title: "tori delete"
description: "delete an app and everything it owns"
---

delete an app and everything it owns

## Usage

```
npx tori.host delete [app]
```

Delete the app named on the command line, or the one in ./tori.json. It stops serving, normally within seconds, and its deploys and their files, environment variables, custom domains and managed Postgres database, if it has one, are removed with it. There is no undo, so on a terminal the command asks you to type the app name first; without a terminal it refuses unless the app is named and `--yes` is given. `--yes` never takes the app from ./tori.json. Cleanup may continue after the command returns. The name stays reserved for your account. ./tori.json and the rest of the directory are left as they are; before deploying the directory again, delete ./tori.json, or, if it sets release or port, put a new app&#39;s name in its slug and keep the rest.

## Options

- `[app]` — App slug. Defaults to the app in ./tori.json, except with `--yes`.
- `--yes` — skip the confirmation; needs the app named, and is required when stdin is not a terminal
- `--no-browser` — do not open a browser; sign in only with a code typed on another device (chosen automatically over SSH or with no DISPLAY)



## Examples

### Delete the app of this directory

```sh
npx tori.host delete
```

### Delete a named app from a script

```sh
npx tori.host delete crimson-finch --yes
```

This reference matches `tori.host@0.22.9`.

Download this page as [Markdown](/downloads/markdown/cli/delete.md).
