macOS
brew install smenulocal Homebrew formula metadata
安装
brew install smenulocal Homebrew formula metadata
sudo apk add smenuAlpine Linux edge package indexes · smenu · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#smenunixpkgs package indexes · pkgs/by-name/sm/smenu/package.nix · 来源: api.github.com
sudo zypper install smenuopenSUSE Tumbleweed package metadata · smenu · 来源: download.opensuse.org
概览
Powerful and versatile CLI selection tool for interactive or scripting use
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
smenu | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:smenu |
|---|---|
| 版本 | 1.5.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/p-gen/smenu |
| 仓库 | https://github.com/p-gen/smenu |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-tests来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.