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

# remove

> Remove a flow from the repo.

```bash theme={null}
npx demoman remove <flow>
```

Removes a flow from the repo, named by id or exact name: its DemoScript in
`.demoman/flows/` and its receipt are deleted, and its exports stay where they
are, named in what it prints. Commit the change.

It exits 1, removing nothing, for a flow the repo does not have or one that
two DemoScripts name, and says which file is left if its receipt cannot be
removed. The Studio's **Remove from repo** does the same.


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