From ae4c9d47fa4f747c3b68fe5e7cc8a4007765f23c Mon Sep 17 00:00:00 2001 From: William Scullion Date: Thu, 30 Dec 2021 17:00:57 -0500 Subject: [PATCH] add homebrew installation notes --- README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 30d02c8..8507c63 100644 --- a/README.md +++ b/README.md @@ -38,15 +38,24 @@ # Installation -Crates.io: + +## Homebrew (macOS only) + + brew tap scullionw/tap + brew install dirstat-rs + + +## Or if you prefer compiling yourself + +### from Crates.io: cargo install dirstat-rs -or latest from git: +## or latest from git: cargo install --git "https://github.com/scullionw/dirstat-rs" -or from source: +## or from source: cargo build --release sudo chmod +x /target/release/ds @@ -68,7 +77,12 @@ or from source: 4. Show apparent size on disk - $ ds PATH + $ ds -a PATH + + 5. Override minimum size threshold + + $ ds -m 0.2 PATH +