macOS
brew install zenitylocal Homebrew formula metadata
sudo port install zenityMacPorts ports tree · gnome/zenity/Portfile · source: api.github.com
brew / rank 1778
GTK+ dialog boxes for the command-line. Version 4.2.2 via Homebrew; verified 2026-07-07. Also installable with debian: sudo apt install zenity.
install
brew install zenitylocal Homebrew formula metadata
sudo port install zenityMacPorts ports tree · gnome/zenity/Portfile · source: api.github.com
sudo apk add zenityAlpine Linux edge package indexes · zenity · source: dl-cdn.alpinelinux.org
sudo apt install zenityDebian stable package indexes · zenity · source: deb.debian.org
sudo dnf install zenityFedora Rawhide package metadata · zenity · source: dl.fedoraproject.org
nix profile install nixpkgs#zenitynixpkgs package indexes · pkgs/by-name/ze/zenity/package.nix · source: api.github.com
sudo pacman -S zenityArch Linux sync databases · zenity · source: geo.mirror.pkgbuild.com
sudo zypper install zenityopenSUSE Tumbleweed package metadata · zenity · source: download.opensuse.org
overview
GTK+ dialog boxes for the command-line
history
Zenity is GNOME's command-line bridge to GTK dialogs, letting shell scripts and other CLI workflows ask users questions, show progress, choose files, and display desktop notifications without writing a full graphical application.
Zenity descends from GNOME's `gdialog` lineage. The GNOME README calls it the GNOME port of the venerable `dialog` program, while older BLFS documentation for Zenity 2.6.2 described it as a rewrite of gdialog, itself the GNOME port of dialog for displaying GTK+ dialog boxes from command-line scripts.
The old GNOME 2 era packaging already shipped both `gdialog` and `zenity`, with `gdialog` kept as a wrapper for legacy scripts. The modern repository still carries that role forward but has moved with the GNOME platform: the README identifies Zenity as part of GNOME Extra Apps and lists GTK 4 and libadwaita as current dependencies.
Because its purpose is deliberately small, Zenity has stayed stable in concept for decades: a CLI command that turns script state into desktop UI. Its evolution is mostly GNOME toolkit migration, option compatibility, and the set of supported dialog types.
Zenity became widely adopted because it solved a packaging and scripting problem that neither pure terminal tools nor full GUI frameworks solved cleanly: a shell script could request desktop input using a standard GNOME/GTK utility. That made it attractive for installers, admin scripts, small desktop helpers, and distribution glue.
The supplied package data shows Zenity available across Homebrew, Debian, Ubuntu, Fedora, Alpine, MacPorts, Nix, Arch, and openSUSE-family packaging. That breadth reflects both its age and its continued usefulness as a tiny dependency for desktop-facing shell workflows.
Common usage is direct from shell scripts: `zenity --info`, `--warning`, `--question`, `--entry`, `--file-selection`, `--progress`, `--list`, `--calendar`, and similar options show GTK dialogs and return either exit status or selected/input data to stdout.
Zenity is especially useful where a package maintainer or script author wants a lightweight graphical prompt without adding a bespoke GUI. It is less useful on headless systems or non-GTK desktop environments unless the needed display and runtime stack are present.
Zenity is a classic package-nerd utility because it sits at the boundary between CLI automation and desktop integration. It is often installed not because users launch it directly, but because scripts and packages want a standard, cross-language way to display GTK dialogs.
It is also a reminder that small desktop commands have long compatibility tails. The `gdialog` wrapper, old GNOME 2 documentation, modern GTK/libadwaita migration, and broad distro packaging all show how a tiny CLI can persist as infrastructure.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
zenity | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:zenity |
|---|---|
| Version | 4.2.2 |
| Package manager | Homebrew |
| Homepage | https://gitlab.gnome.org/GNOME/zenity |
| Last updated | 2026-07-07T14:59:01Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
zenity 4.1.90-1
Display graphical dialog boxes from shell scripts
https://wiki.gnome.org/Projects/Zenity
sudo apt install zenityzenity-common 4.1.90-1
Display graphical dialog boxes from shell scripts (common files)
https://wiki.gnome.org/Projects/Zenity
sudo apt install zenity-commonzenity
nix profile install nixpkgs#zenityzenity 4.0.1-1build3
Display graphical dialog boxes from shell scripts
https://wiki.gnome.org/Projects/Zenity
sudo apt install zenityzenity-common 4.0.1-1build3
Display graphical dialog boxes from shell scripts (common files)
https://wiki.gnome.org/Projects/Zenity
sudo apt install zenity-commonzenity 4.2.2-r0
Display dialog boxes from the command line and shell scripts
https://gitlab.gnome.org/GNOME/zenity
sudo apk add zenityzenity-dbg 4.2.2-r0
Display dialog boxes from the command line and shell scripts (debug symbols)
https://gitlab.gnome.org/GNOME/zenity
sudo apk add zenity-dbgzenity-doc 4.2.2-r0
Display dialog boxes from the command line and shell scripts (documentation)
https://gitlab.gnome.org/GNOME/zenity
sudo apk add zenity-doczenity-lang 4.2.2-r0
Languages for package zenity
https://gitlab.gnome.org/GNOME/zenity
sudo apk add zenity-langzenity 4.2.2-5.fc45
Display dialog boxes from shell scripts
https://wiki.gnome.org/Projects/Zenity
sudo dnf install zenityzenity 4.2.2-1
Display graphical dialog boxes from shell scripts
https://gitlab.gnome.org/GNOME/zenity
sudo pacman -S zenityzenity 4.2.2-1.4
GNOME Command Line Dialog Utility
https://wiki.gnome.org/Projects/Zenity
sudo zypper install zenityzenity-lang 4.2.2-1.4
Translations for package zenity
https://wiki.gnome.org/Projects/Zenity
sudo zypper install zenity-langzenity
sudo port install zenitysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.