macOS
brew install smenulocal Homebrew formula metadata
brew / rank 13532
Powerful and versatile CLI selection tool for interactive or scripting use. Version 1.5.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install smenu.
install
brew install smenulocal Homebrew formula metadata
sudo apk add smenuAlpine Linux edge package indexes · smenu · source: dl-cdn.alpinelinux.org
sudo apt install smenuDebian stable package indexes · smenu · source: deb.debian.org
nix profile install nixpkgs#smenunixpkgs package indexes · pkgs/by-name/sm/smenu/package.nix · source: api.github.com
sudo zypper install smenuopenSUSE Tumbleweed package metadata · smenu · source: download.opensuse.org
overview
Powerful and versatile CLI selection tool for interactive or scripting use
history
smenu is a terminal selection filter: it reads words from standard input or a file, displays them as an interactive terminal menu, and writes the selected value back to the shell pipeline. It is a package-nerd tool because it turns ordinary POSIX pipelines into small interactive workflows without requiring a full TUI framework.
The official repository describes smenu as starting as a lightweight and flexible terminal menu generator before evolving into a versatile CLI selection tool for interactive or scripting use. Its README compares it to `sed`, but for selection rather than editing.
The README notes that some Linux distributions already package smenu and that it can be built on Unix-like systems with a functional terminfo development platform. The supplied package metadata records Homebrew, Alpine, Debian, Ubuntu, Nix, and openSUSE package names.
A common pattern is command substitution: pipe text into `smenu`, let the user choose with keyboard or mouse in a scrolling terminal window, and store the result in a shell variable. The README examples select fields from `/proc` and `/etc/passwd` output.
Package maintainers care because smenu depends on terminal capabilities, terminfo, UTF-8 behavior, and interactive shell ergonomics. It is a compact example of packaging a C-based CLI that must behave correctly across many terminals.
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 |
|---|---|---|---|
smenu | 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:smenu |
|---|---|
| Version | 1.5.0 |
| Package manager | Homebrew |
| Homepage | https://github.com/p-gen/smenu |
| Repository | https://github.com/p-gen/smenu |
| 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.
smenu 1.2.0-1+b1
curse-based CLI selection box
https://github.com/p-gen/smenu
sudo apt install smenusmenu
nix profile install nixpkgs#smenusmenu 1.2.0-1
curse-based CLI selection box
https://github.com/p-gen/smenu
sudo apt install smenusmenu 1.5.0-r0
A standard input word picker
https://github.com/p-gen/smenu
sudo apk add smenusmenu-doc 1.5.0-r0
A standard input word picker (documentation)
https://github.com/p-gen/smenu
sudo apk add smenu-docsmenu 1.5.0-1.5
A standard input word picker
https://github.com/p-gen/smenu
sudo zypper install smenusmenu-tests 1.5.0-1.5
Testing system for smenu
https://github.com/p-gen/smenu
sudo zypper install smenu-testssource 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.