Skip to content

Instantly share code, notes, and snippets.

@daniel-ciaglia
Created February 1, 2026 16:17
Show Gist options
  • Select an option

  • Save daniel-ciaglia/eb65b44a04195ca28508bed6da73e663 to your computer and use it in GitHub Desktop.

Select an option

Save daniel-ciaglia/eb65b44a04195ca28508bed6da73e663 to your computer and use it in GitHub Desktop.
Linux cleanup
# Manjaro/Arch
yay -Scc
# Homebrew
brew cleanup -s
rm -rf $(brew --cache)
# Golang
go clean -cache
go clean -modcache
# Node
npm cache clean --force
npx clear-npx-cache
yarn cache clean --mirror
# dotNet
dotnet nuget locals --clear all
# Terraform
cd ~/Code; find -name '\.terraform' -type d -exec trash \{\} \;
rm -rf ~/.terraform.d/plugin-cache
# Containers
minikube cache delete
podman system prune --build --volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment