> For the complete documentation index, see [llms.txt](https://dcli.onepub.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dcli.onepub.dev/dcli-tools-1/dcli-clean-1.md).

# DCli Clean

DCli clean deletes all build artifacts including:

* pubspec.lock
* .packages
* .dart\_tools
* all compiled exes

You don't normally need to run DCli clean unless you need to get your directory structure into a pristine state (perhaps before running unit tests). Normally \`dcli prepare\` is a more appropriate tool.

```
dcli clean
```

Your scripts are now ready to run.
