macOS
brew install yashlocal Homebrew formula metadata
sudo port install yashMacPorts ports tree · shells/yash/Portfile · 来源: api.github.com
安装
brew install yashlocal Homebrew formula metadata
sudo port install yashMacPorts ports tree · shells/yash/Portfile · 来源: api.github.com
sudo apk add yashAlpine Linux edge package indexes · yash · 来源: dl-cdn.alpinelinux.org
sudo dnf install yashFedora Rawhide package metadata · yash · 来源: dl.fedoraproject.org
nix profile install nixpkgs#yashnixpkgs package indexes · pkgs/by-name/ya/yash/package.nix · 来源: api.github.com
sudo apt install yashUbuntu 24.04 LTS package indexes · yash · 来源: archive.ubuntu.com
概览
Yet another shell: a POSIX-compliant command-line shell
历史
yash, Yet Another Shell, is Yuki Watanabe's POSIX-focused command-line shell. It aims to be highly POSIX-compliant while still offering interactive conveniences such as completion, prediction, arrays, aliases, extended globbing, and redirection features.
Upstream NEWS records Yash 2.0 alpha0 as the first 2.x release on 2008-05-26. The project later moved to GitHub; the README says it is maintained on GitHub but was formerly on OSDN, and the GitHub repository was created on 2012-11-24.
A defining thread in Yash history is conformance work. NEWS records POSIX.1-2008 conformance in Yash 2.8 in April 2009, support for the 2013 edition of POSIX.1-2008 in 2.42 in August 2016, and support for POSIX.1-2008 Technical Corrigendum 2 in 2.44 in January 2017. The current README says Yash now fully supports POSIX.1-2024 except for listed limitations.
The project has stayed actively maintained in a conservative shell-tooling style. The README describes stable maintenance releases every three months or so, and GitHub releases show 2.61 published on 2026-03-03.
Yash's adoption is niche compared with bash, zsh, dash, or fish, but it has a clear role for users who care about POSIX behavior, shell-language edge cases, and an interactive shell that does not primarily chase bash compatibility. Package managers such as Homebrew, MacPorts, Fedora, Nix, and Ubuntu carry it as an alternative shell rather than as a default system shell.
Its maintenance style also attracts shell implementers and portability-minded users: NEWS entries repeatedly track standard changes, built-in behavior, job control, pathname expansion, and line-editing details rather than splashy user-interface pivots.
Users can run yash as an interactive shell, script interpreter, or login shell. The README documents startup files under `$XDG_CONFIG_HOME/yash/profile` or `~/.yash_profile` for login shells and `$XDG_CONFIG_HOME/yash/rc` or `~/.yashrc` for interactive configuration.
In practice it is useful for POSIX shell testing, portable script development, and users who want a smaller standards-oriented shell with interactive amenities such as command completion, history-based prediction, global aliases, arrays, and extended globbing.
yash is package-nerd significant because shells are both applications and compatibility surfaces. Packaging yash gives users a reproducible alternative interpreter for testing scripts against POSIX semantics without replacing the system `/bin/sh`.
It is also a good example of long-haul small-project maintenance: standards tracking, portability fixes, completion updates, and cautious release cadence matter more than branding. That makes it valuable in package collections even when its user base is specialized.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/yash/profile~/.yash_profile$XDG_CONFIG_HOME/yash/rc~/.yashrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
yash | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/magicant/yash
安装元数据
| 软件包键 | brew:yash |
|---|---|
| 版本 | 2.61 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/yash |
| 主页 | https://magicant.github.io/yash/ |
| 仓库 | https://github.com/magicant/yash |
| 上游文档 | https://magicant.github.io/yash/doc |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/magicant/yash/releases/download/2.61/yash-2.61.tar.xz |
| 依赖 | gettext |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | yash |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
yash
nix profile install nixpkgs#yashyash 2.55-2
yet another shell
sudo apt install yashgit-yash-completion 2.60-r0
Yash completions for git
https://magicant.github.io/yash/
sudo apk add git-yash-completionopenssh-client-yash-completion 2.60-r0
Yash completions for openssh-client
https://magicant.github.io/yash/
sudo apk add openssh-client-yash-completionsubversion-yash-completion 2.60-r0
Yash completions for subversion
https://magicant.github.io/yash/
sudo apk add subversion-yash-completionvalgrind-yash-completion 2.60-r0
Yash completions for valgrind
https://magicant.github.io/yash/
sudo apk add valgrind-yash-completionyash 2.60-r0
Yet another shell
https://magicant.github.io/yash/
sudo apk add yashyash-binsh 2.60-r0
yash as /bin/sh
https://magicant.github.io/yash/
sudo apk add yash-binshyash-completion 2.60-r0
Yet another shell (command-line completion)
https://magicant.github.io/yash/
sudo apk add yash-completionyash-doc 2.60-r0
Yet another shell (documentation)
https://magicant.github.io/yash/
sudo apk add yash-docyash 2.61-1.fc45
Yet Another SHell
https://github.com/magicant/yash/
sudo dnf install yashyash-doc 2.61-1.fc45
Documentation for yash
https://github.com/magicant/yash/
sudo dnf install yash-docyash
sudo port install yash来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.