Automic VaultAutomic Vault

brew

Install yash with Homebrew, apk, dnf, MacPorts, Nix, apt

Yet another shell: a POSIX-compliant command-line shell. Version 2.61 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#yash.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install yash

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install yash

MacPorts ports tree · shells/yash/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add yash

Alpine Linux edge package indexes · yash · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install yash

Fedora Rawhide package metadata · yash · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#yash

nixpkgs package indexes · pkgs/by-name/ya/yash/package.nix · source: api.github.com

Ubuntu aptverified · 92%
sudo apt install yash

Ubuntu 24.04 LTS package indexes · yash · source: archive.ubuntu.com

overview

Package summary

Yet another shell: a POSIX-compliant command-line shell

Commands and aliases

  • yash

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2008-05-26: Yash 2.0 alpha0 is recorded as the first 2.x release.
  • 2009-04-18: Yash 2.8 NEWS states conformance to POSIX.1-2008.
  • 2012-11-24: magicant/yash repository is created on GitHub.
  • 2016-08-27: Yash 2.42 adds support for the 2013 edition of POSIX.1-2008.
  • 2017-01-17: Yash 2.44 adds support for POSIX.1-2008 Technical Corrigendum 2.
  • 2026-03-03: Yash 2.61 is released; the manual version matches 2.61.

Related projects

  • dash and bash are common comparison points for POSIX shell behavior and scripting compatibility.
  • zsh and fish occupy the more feature-forward interactive shell space that yash partially overlaps but does not try to clone.
  • yash-rs is the upstream author's Rust reimplementation project for a future extended POSIX shell.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:shell

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/yash/profile~/.yash_profile$XDG_CONFIG_HOME/yash/rc~/.yashrc

executables

Installed executables

CommandKindExposureNote
yashcliglobal executable

freshness

Version and 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.

page generated2026-07-26
manager version2.61
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/magicant/yash

  • infoNo package-manager update timestamp was available.low confidence
  • infoNo cached GitHub release or tag data was available.https://github.com/magicant/yashnone confidence

install metadata

Package metadata

Package keybrew:yash
Version2.61
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/yash
Homepagehttps://magicant.github.io/yash/
Repositoryhttps://github.com/magicant/yash
Upstream docshttps://magicant.github.io/yash/doc
LicenseGPL-2.0-or-later
Source archivehttps://github.com/magicant/yash/releases/download/2.61/yash-2.61.tar.xz
Dependenciesgettext
Uses from macOSncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameyash
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

yash

nix profile install nixpkgs#yash
  • normalized package name match
  • Matched by: Yash
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ya/yash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

yash 2.55-2

yet another shell

https://yash.osdn.jp/

sudo apt install yash
  • Section: universe/shells
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Yash
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

git-yash-completion 2.60-r0

Yash completions for git

https://magicant.github.io/yash/

sudo apk add git-yash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • 1 dependencies
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

openssh-client-yash-completion 2.60-r0

Yash completions for openssh-client

https://magicant.github.io/yash/

sudo apk add openssh-client-yash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • 1 dependencies
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openssh-client-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

subversion-yash-completion 2.60-r0

Yash completions for subversion

https://magicant.github.io/yash/

sudo apk add subversion-yash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • 1 dependencies
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: subversion-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

valgrind-yash-completion 2.60-r0

Yash completions for valgrind

https://magicant.github.io/yash/

sudo apk add valgrind-yash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • 1 dependencies
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: valgrind-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

yash 2.60-r0

Yet another shell

https://magicant.github.io/yash/

sudo apk add yash
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

yash-binsh 2.60-r0

yash as /bin/sh

https://magicant.github.io/yash/

sudo apk add yash-binsh
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yash-binsh from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

yash-completion 2.60-r0

Yet another shell (command-line completion)

https://magicant.github.io/yash/

sudo apk add yash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

yash-doc 2.60-r0

Yet another shell (documentation)

https://magicant.github.io/yash/

sudo apk add yash-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: yash
  • normalized package name match
  • Matched by: Yash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

yash 2.61-1.fc45

Yet Another SHell

https://github.com/magicant/yash/

sudo dnf install yash
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: yash
  • 8 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Yash
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

yash-doc 2.61-1.fc45

Documentation for yash

https://github.com/magicant/yash/

sudo dnf install yash-doc
  • License: CC-BY-SA-2.1-JP
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: yash
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Yash
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yash-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

yash

sudo port install yash
  • normalized package name match
  • Matched by: Yash
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/yash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment