Skip to content

Joe Astuccio

trash-cli > rm for deleting files from the command line

1 min read

The rm command can accidentally delete everything. There are alternatives and steps you can take, like aliasing rm, to protect yourself. trash is a safer way to remove files!

Install it using Homebrew:

brew install trash-cli

or using the installation instructions on github