no is a lightweight, high-performance tool written in Rust designed to prevent accidental data loss. It replaces the dangerous rm command with a safe alternative that moves files to a trash directory instead of deleting them permanently.
Run this single command to install the binary and set up your safety alias automatically. This works on Alpine (sh), Ubuntu (bash), macOS (zsh), and more.
curl -fsSL https://raw.githubusercontent.com/ake-ak/no/main/install.sh | sh