README
¶
⢀⣤⣶⣶⣶⣆⣀ ⣰⡆ ⣰
⢀⣴⣿⣷⡟⠉⠁ ⠉⠙⢿⣦ ⣤⡤⣠⣴⡶⣖⣤⡀ ⣀⢙⣯⡶⣖⣨⡿⡢⡀ ⠠⠾⢇⠱⢄⣠
⠤⣾⣿⣿⠟⠁ ⠹⣷⡀ ⢫⣾⣿⣽⣿⣿⣾⣟⣂ ⣸⠇⢞⣽⣿⡿⣽⣋⢧⣋⡂ ⢰⣿⣿⣟⣚⣊⢡⣮⣇⣆
⠻⣧ ⣾⢿⣿⣿⣿⣿⣿⣫⠟ ⣿⡆⣘⣛⣻⣼⣷⢋⡵⠶⣦ ⠴⣶⣴⣦⡯⠹⠯⠿⠼⣫⣶⣬⣀⡆
⢻⣷⣄ ⢻⣼⣿⣿⣿⣿⣿⣿⣿ ⠘⣿⡼⡿⣯⣝⢱⣿⣾⣃⣯⣀ ⢠⢾⠿⣋⢫⠽⣴⣾⣿⣿⣆⢺⡟⠿⢿⢿⣶⣄
⢀⣀⣀⣀⣀⣀ ⠙⠻⣿⣤⣤⣀⣀⣀⠻⢿⣿⣭⡟⢿⠿⢿⣷⣄⢬⣭⠄⠚⢿⢸⣿⣿⣿⣿⣿⡇ ⢀⣴⣷⣶⢿⣿⣶⣿⣏⣹⣟⣿⣿⣷⣿⣷⣿⣿⣤⣽⣄⡀
⢤⣤⣶⣿⣿⠿⠿⠿⠿⣷⣦⣀ ⠈⠉⠙⠛⠿⣷⣄ ⣀⣙⠿⣷⣌⢀⡀⣳⣄⡙⠛⠿⣾⡭ ⠈⠉⠉⠁⠉⠉⢩⣬⣭⣭⣉⣭⡷⠔⠊⠉⠉ ⠉⠉⠉⠁
⠉⠩⣭⣶⣾⡿⠿⠶⢦⣍⡙⠻⠷⠶⠖⠚⣛⡛⠲⢬⣙⢷⡀⣠⡴⣿⣿⣿⣷⡌⣵⣿⣿⣟⣻⣿⡰⣄⢀ ⢼⣿⣯⡍⠉⠉⠁
⠈⠉⠁⠚⠿⣿⣷⣶⣶⣶⣶⡶⠾⠛⠋⠉⠙⠲⢌⠓⣴⡶⠿⠳⠟⢻⢩⢰⣿⣿⣿⣷⣾⣟⡆⣿⠌⣿⣶⣦⣄⡀ ⢀⣴⣾⣷⣭⠉
⠈⠉⠉⠁⢀⣤⣶⣶⡆⣿⣶⢦⡄⢸⣿⣿⣿⣿⣿⣞⣿⡷⣯⢱⣿⣷⣎⠿⣹⡿⢰⣿⣿⣏⣿⣿⣧⣿⣿⣿⣿⠇
⣀⣀ ⢀⡀ ⣀⣠⣤⣤⣄⣀ ⣤⣤⡰⣆⣿⣿⣿⣻⣿⣿⣿⢿⣟⢧⠸⠿⣿⡿⠿⢛⣩⡬⣴⠟⣾⣿⣿⣿⣿⡿⠁⠻⢿⡟⢹⣿⣿⣿⣿⡿⠟⠁
⢀⣠⣾⣿⣿⢳⣿⣿⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡘⣿⣷⡙⢾⡿⣿⣷⣯⣟⡛⠷⢭⡃⢷⢲⠰⢶⣾⣿⡟⣽⢫⣾⣿⢿⣯⡿⠋
⣴⣿⣿⡿⠟⢛⡘⢿⡯⠩⣩⣭⣭⣭⣍⣉⣉⠉⠛⠿⠿⣿⣌⠻⣿⣷⣮⣭⣉⣛⣛⡛⠛⠒⣂⣠⡾⣭⣿⢻⣿⣧⣿⣌⣩⡶⢫⡇
⠺⠿⠋⣡⣴⣾⣿⣿⠧⣆⣇⠿⠿⠿⢿⣿⣿⣿⣿⣿⣶⣆⢰⣶⡆⣦⣭⣭⣭⣭⣤⣴⣶⠾⢟⣽⡌⠳⠿⠞⢒⡛⠛⠛⣉⠔⣴⠋
⢰⡿⠻⠋⠁ ⠈⠁ ⠉⠉⠛⠿⠿⠆⢻⣿⣔⠶⠶⠶⣒⣛⣯⣵⠾⠛⠉ ⠐⢿⣦⣍⣛⣩⡴⠞⠁
⠹⢿⣿⣿⡿⠿⠏⠉ ⠈⠉⠉
Dronagiri package manager
Every tool on your Mac, lifted into one place.
A macOS-only terminal package manager — inspect, understand and remove anything installed from the command line.
One list of every tool you installed, what it does, how much space it takes, when it arrived, when you last used it, what depends on it — and a single key to remove it.
The emblem fills the screen while your inventory loads, then folds away so the list has room to breathe.
Dronagiri package manager · Every tool on your Mac, lifted into one place 200 packages · 6.8 GB · 102 outdated
Mine 55 Dependencies 145 Updates 102 Broken 3 All 200 press tab to switch
PACKAGE ▲ VERSION WHAT IT'S FOR SIZE POPULAR INSTALLED LAST USED SOURCE
▸ [ ] @callstack/ai-cli 0.11.0 AI assistant in you… 82.9 MB — 02 Jul 25 never npm
[x] ffmpeg 8.0.1_2 → 9.… Play, record, convert… 51.3 MB ★★★★☆ 31 Jan 26 never brew
[ ] htop 3.4.0 → 3.5.3 Improved top (interac… 408 KB ★★★☆☆ 31 Mar 25 never brew
[ ] iterm2 3.5.11 → 3.7.6 Terminal emulator as … 101 MB ★★★☆☆ 31 Mar 25 01 Nov 26 cask
[ ] maccy 2.6.1 Clipboard manager 12.0 KB ★★★☆☆ 01 Mar 26 never cask
╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ffmpeg 8.0.1_2 brew │
│ Play, record, convert, and stream audio and video │
│ 51.3 MB · installed 31 Jan 2026 · update available: 9.0.2 │
│ last used · no trace in your shell history (scripts and editors are not tracked) │
│ /opt/homebrew/Cellar/ffmpeg/8.0.1_2 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
↑↓ move · space select · / search · tab views · h column · s sort · u upgrade · ? help · e export · q quit
The name
In the Ramayana, Lakshmana is wounded and needs the Sanjeevani herb. Hanuman cannot tell which plant it is — so he lifts the entire Dronagiri mountain and carries it to the battlefield.
That is the problem this tool solves. You should not have to know whether a program came from Homebrew, npm, pipx or Cargo, or which of six commands will remove it. Lift the whole mountain into one place and let the user pick.
Why
macOS has no central package repository. Your tools are scattered across
Homebrew, npm, pipx, Cargo, RubyGems and go install, and each has its own
vocabulary for looking at them.
The usual answer, brew list, returns 188 entries on a normal developer Mac.
Roughly 145 of those are libraries you never asked for — abseil, icu4c@79,
isl, highway. They arrived because ffmpeg needed them. Nothing tells you
which is which, what anything does, or how much space it takes.
On a jailbroken iPhone, Cydia and Sileo solved exactly this: one list, grouped,
searchable, with a Remove button. dronagiri is that idea, for the Mac terminal.
What it does
| Space | Real on-disk size for every package, with a running total |
| Your list | Mine hides dependencies; All shows everything |
| Context | Install date, one-line description, homepage, install path |
| Last used | When you last ran it, from Spotlight and shell history |
| Popularity | How widely a tool is installed, from Homebrew's public analytics |
| Sort | Any column, either direction — find your biggest or deadest tools |
| Dependencies | Kept in their own tab, each labelled "needed by ffmpeg, mpv" |
| Broken | Its own tab: packages a manager still lists whose files are gone |
| Bulk removal | Select any number with space, press d, confirm twice |
| Updates | u upgrades what you selected, or the row under the cursor |
| Export | e writes the current view to ~/Downloads as aligned text |
Requirements
- macOS 13 (Ventura) or newer, Apple Silicon or Intel. Dronagiri is macOS-only.
- Optional: Go 1.24+ if you want the single-command install or to build it yourself.
- The package managers it reads are optional too. Homebrew, npm, pipx, Cargo,
RubyGems and
go installare detected independently; anything missing is skipped rather than treated as an error.
Dronagiri reads your system and writes only to your home folder
(~/Library/Caches/dronagiri, and exports to ~/Downloads). It never needs
sudo to inspect anything.
Install
Option 1 — one command (requires Go 1.24+)
go install github.com/MasterShivnath007/dronagiri@latest
Go places the binary in $(go env GOPATH)/bin, usually ~/go/bin. If your
shell cannot find it afterwards, add that folder once:
echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.zshrc
source ~/.zshrc
Then just run:
dronagiri
Option 2 — download a binary (no Go, no building)
-
Open the Releases page.
-
Download the archive for your Mac:
Mac File Apple Silicon (M1–M4) dronagiri_<version>_darwin_arm64.tar.gzIntel dronagiri_<version>_darwin_amd64.tar.gz -
Unpack it somewhere on your
PATH:
tar -xzf dronagiri_*_darwin_arm64.tar.gz
sudo mv dronagiri /usr/local/bin/
dronagiri
Downloaded binaries are not notarized by Apple. If macOS blocks the first run, clear the quarantine flag once:
xattr -d com.apple.quarantine /usr/local/bin/dronagiri
Option 3 — build from source
git clone https://github.com/MasterShivnath007/dronagiri.git
cd dronagiri
make install # builds and installs to ~/.local/bin/dronagiri
Or without make:
go build -o dronagiri . && sudo mv dronagiri /usr/local/bin/
Check it worked
dronagiri --version # dronagiri 1.0.0
dronagiri # opens the browser
Uninstall
sudo rm /usr/local/bin/dronagiri # or: rm ~/.local/bin/dronagiri
rm -rf ~/Library/Caches/dronagiri # cached popularity data
Dronagiri never installs anything into your system; removing the binary is the whole uninstall.
Usage
dronagiri # interactive browser
dronagiri list # only what you installed
dronagiri list --all # include dependencies
dronagiri list --deps # dependencies only, with their dependents
dronagiri list --broken # manager entries whose files are gone
dronagiri list --json # machine-readable
Keys
| Key | Action |
|---|---|
↑ ↓ / j k |
Move |
space |
Select / deselect |
a |
Select everything in the current view |
d |
Uninstall selected packages — asks twice |
u |
Upgrade the selected packages, or the highlighted one |
/ |
Search name and description |
tab |
Switch Mine / Dependencies / Updates / Broken / All |
h |
Move the header highlight right |
H |
Move the header highlight left |
s |
Sort by the highlighted column; press again to reverse |
e |
Export the current view to ~/Downloads as a .txt file |
r |
Reload from the package managers |
? |
Help |
q |
Quit |
Supported managers
| Manager | List | Size | Date | Dependencies | Remove | Update |
|---|---|---|---|---|---|---|
| Homebrew formulae | ✅ | ✅ | ✅ | ✅ runtime | ✅ | ✅ |
| Homebrew casks | ✅ | ✅ | ✅ | — | ✅ | ✅ |
| npm (global) | ✅ | ✅ | ~ | ✅ | ✅ | ✅ |
| pipx | ✅ | ✅ | ~ | — | ✅ | ✅ |
| RubyGems | ✅ | ✅ | ~ | ✅ | ✅ | ✅ |
| Cargo | ✅ | ✅ | ~ | — | ✅ | ✅ |
go install |
✅ | ✅ | ✅ | — | ✅ | ✗ |
~ means the date comes from the filesystem (install directory mtime), not
from the manager's own database. It is close, not exact.
Ruby gems that ship with macOS are hidden on purpose: they belong to the operating system, not to you.
How it works
- Inventory — each manager is read through its own documented interface.
Homebrew uses
brew info --json=v2 --installed; npm usesnpm ls -g --json; and so on. No private APIs, no scraping. - Real dependencies — Homebrew's JSON lists declared dependencies, which
is wrong surprisingly often.
dronagiriasksbrew deps <formula>for the actual runtime linkage, then inverts the graph so every library can name the packages that need it. - Sizes — a single batched
ducall over all install paths. For casks it takes the largest of the app bundle, binary targets and the Caskroom copy. - Broken detection — every recorded install path is checked on disk.
- Last used — explained separately below, because it is the one number that has to be honest about its limits.
- Removal — always delegated to the manager that installed the package
(
brew uninstall,npm uninstall -g, …).dronagirinever deletes files itself, apart from Go binaries, which have no package database.
How "last used" works
This one is harder than it looks, and it is worth knowing why.
- macOS mounts APFS with noatime, so a program's access time never changes. The filesystem cannot tell you when you last ran something.
- Most shells do not record timestamps in their history either.
So dronagiri uses two honest signals and says so:
| Signal | Applies to | What you see |
|---|---|---|
Spotlight kMDItemLastUsedDate |
.app bundles |
A real date |
| Shell history with timestamps | commands | A real date |
| Shell history without timestamps | commands | used |
| Nothing found | everything | never |
never means no trace in your shell history — not proof of disuse. Tools
launched by scripts, editors, cron or GUI wrappers never appear there, which is
why the detail panel spells that out too. To get real dates for commands,
enable timestamped history:
# ~/.zshrc
setopt EXTENDED_HISTORY
How popularity works
★ ratings come from Homebrew's public analytics: the number of installs in
the last year across all Homebrew users.
| Installs / year | Rating |
|---|---|
| 2,000,000+ | ★★★★★ |
| 500,000+ | ★★★★☆ |
| 100,000+ | ★★★☆☆ |
| 10,000+ | ★★☆☆☆ |
| any | ★☆☆☆☆ |
| no data | — |
The datasets are about 6 MB, so they are downloaded in the background —
the package list never waits for them — and cached for 14 days in
~/Library/Caches/dronagiri/. The first run shows — until the download
finishes. Only Homebrew publishes such numbers, so npm, pipx, Cargo and gem
packages stay at — rather than being given a made-up score.
Popularity says nothing about whether you need a package. A niche tool you use daily is still worth keeping.
This works for everyone who installs the tool — the ratings come from a public dataset, not from anything specific to one machine. The download is the same file for every user, so nothing about your installed packages is sent anywhere.
Safety
- Nothing is removed until you press
dand confirm twice in a bordered dialogue. - The first window lists every package and the space freed. The second is a last-chance warning that cannot be undone.
d to removein the footer is red whenever a selection is active.- Packages that are dependencies are called out before removal.
- Packages owned by macOS are marked protected and skipped.
- Removal commands are the manager's own;
dronagiriadds no--force.
Roadmap
-
--dry-runfor scripted removals - Unused-dependency view built on
brew autoremove --dry-run - Disk treemap panel
- Homebrew tap for
brew install dronagiri - Optional snapshot/restore in the spirit of
brew bundle
Contributing
Issues and pull requests are welcome. Please run make check before opening a
PR — it formats, vets and tests.
Adding a manager means implementing one small interface in internal/source.
See npm.go for the shortest example.
License
MIT — see LICENSE.
Documentation
¶
Overview ¶
Command dronagiri puts every command-line tool on your Mac in one place. what it is, how big it is, when it arrived, and what depends on it.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
model
Package model holds the data types shared by every package source.
|
Package model holds the data types shared by every package source. |
|
runner
Package runner executes external commands with a predictable environment.
|
Package runner executes external commands with a predictable environment. |
|
source
Package source knows how to read one package ecosystem.
|
Package source knows how to read one package ecosystem. |
|
ui
Package ui renders the interactive terminal application.
|
Package ui renders the interactive terminal application. |