Skip to content

Instantly share code, notes, and snippets.

@adrianmgg
Last active April 24, 2025 20:18
Show Gist options
  • Select an option

  • Save adrianmgg/4c7a3b93ac094802bef954fc5774210b to your computer and use it in GitHub Desktop.

Select an option

Save adrianmgg/4c7a3b93ac094802bef954fc5774210b to your computer and use it in GitHub Desktop.
# a little helper script i use to clear out various compilation/package install caches
# uses the voidtools everything cli
@(es '\target\.rustc_info.json') | get-item | %{ $_.Directory.Parent } | %{ $_; pushd $_; cargo clean; popd }
# uses https://github.com/matthiaskrgr/cargo-cache/
cargo cache --autoclean --gc
py -3 -m pip cache purge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment