Skip to content

The stack clean command

Either

stack clean [PACKAGE]

or

stack clean --full

stack clean deletes build artefacts for one or more project packages specified as arguments. If no project packages are specified, all project packages are cleaned.

stack clean --full deletes the project's Stack working directory.