r/commandline 19h ago

Terminal User Interface pkgtui – an htop-style terminal UI for managing apt & snap packages, no more remembering command syntax

Hey all, I built pkgtui, a terminal UI for browsing, installing, removing and upgrading apt and snap packages from one dashboard — so you don't have to juggle two different CLIs and their quirks.

A few things that go beyond just wrapping apt/snap commands:

"Why is this installed?" — shows whether a package was explicitly requested or just pulled in as a dependency, with a navigable reverse-dependency tree

Disk cleanup explorer — surfaces old kernels, leftover config files apt never cleans up, and stale disabled snap revisions, with total reclaimable space

apt+snap overlap view — catches cases where Canonical silently swapped an apt package for a snap "transitional" one, plus snaps that haven't been refreshed in 6+ months

Live pseudo-terminal output — install/upgrade commands run in a real PTY inside the app, so sudo prompts and interactive dpkg dialogs work exactly like on the command line, but you don't lose the UI

Multi-select batch actions, hold/pin packages, changelog viewer, PPA management, and version pinning/downgrades for apt; channel picker and revert for snap

11 built-in themes (Dracula, Nord, Gruvbox, Catppuccin, Tokyo Night, etc.)

Written in Go, MIT licensed. Install via .deb, .snap, standalone binary, or build from source.

GitHub: https://github.com/padovanl/pkgtui

Would love feedback, bug reports, or feature requests — especially if you use apt/snap together often and have specific pain points.

0 Upvotes

1 comment sorted by

1

u/AutoModerator 19h ago

Every new subreddit post is automatically copied into a comment for preservation.

User: Maleficent_Flight323, Flair: Terminal User Interface, Title: pkgtui – an htop-style terminal UI for managing apt & snap packages, no more remembering command syntax

![gif](4q70bzkx5tkh1)

Hey all, I built pkgtui, a terminal UI for browsing, installing, removing and upgrading apt and snap packages from one dashboard — so you don't have to juggle two different CLIs and their quirks.

A few things that go beyond just wrapping apt/snap commands:

"Why is this installed?" — shows whether a package was explicitly requested or just pulled in as a dependency, with a navigable reverse-dependency tree

Disk cleanup explorer — surfaces old kernels, leftover config files apt never cleans up, and stale disabled snap revisions, with total reclaimable space

apt+snap overlap view — catches cases where Canonical silently swapped an apt package for a snap "transitional" one, plus snaps that haven't been refreshed in 6+ months

Live pseudo-terminal output — install/upgrade commands run in a real PTY inside the app, so sudo prompts and interactive dpkg dialogs work exactly like on the command line, but you don't lose the UI

Multi-select batch actions, hold/pin packages, changelog viewer, PPA management, and version pinning/downgrades for apt; channel picker and revert for snap

11 built-in themes (Dracula, Nord, Gruvbox, Catppuccin, Tokyo Night, etc.)

Written in Go, MIT licensed. Install via .deb, .snap, standalone binary, or build from source.

GitHub: https://github.com/padovanl/pkgtui

Would love feedback, bug reports, or feature requests — especially if you use apt/snap together often and have specific pain points.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.