cargo-wipe 0.3.0

recursively wipe target and node_modules folders
cargo-wipe-0.3.0 is not a library.

Cargo Wipe

Crates CI codecov license
Cargo subcommand that recursively finds and optionally wipes all "target" or "node_modules" folders that are found in the current path.



The Rust toolchain is a prerequisite.

cargo install cargo-wipe


cargo wipe target

Add the -w flag to wipe all Rust target folders found. USE WITH CAUTION!


cargo wipe node_modules

Add the -w flag to wipe all node_modules folders found. USE WITH CAUTION!

Usage Example

Usage Example Screenshot


Contributions are welcome and encouraged! See for ideas, or suggest your own!

PR Checks

    cargo make ci-flow


  • Update version in Cargo.toml
  • Commit
  • Add tag
    git tag -a vX.X.X
  • Push
    git push --follow-tags
  • Release
    Create a new release.
    publish.yml GitHub Action will pick it up and do the actual release to