# yash を Homebrew, apk, dnf, MacPorts, Nix, apt でインストール

yash のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:yash
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install yash
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yash
```

  証拠: MacPorts ports tree: shells/yash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add yash
```

  証拠: Alpine Linux edge package indexes: yash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install yash
```

  証拠: Fedora Rawhide package metadata: yash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#yash
```

  証拠: nixpkgs package indexes: pkgs/by-name/ya/yash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install yash
```

  証拠: Ubuntu 24.04 LTS package indexes: yash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## パッケージ情報

- **パッケージキー:** brew:yash
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.61
- **ソース概要:** Yet another shell: a POSIX-compliant command-line shell
- **ホームページ:** <https://magicant.github.io/yash/>
- **リポジトリ:** <https://github.com/magicant/yash>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- yash (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.61
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://api.github.com/repos/magicant/yash>
- <https://api.github.com/repos/magicant/yash/releases?per_page=100>
- <https://github.com/magicant/yash>
- <https://github.com/magicant/yash-rs>
- <https://magicant.github.io/yash/>
- <https://magicant.github.io/yash/doc/>
- <https://raw.githubusercontent.com/magicant/yash/master/NEWS>
- <https://raw.githubusercontent.com/magicant/yash/master/README.md>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal


## 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

- Unix: $XDG_CONFIG_HOME/yash/profile, ~/.yash_profile, $XDG_CONFIG_HOME/yash/rc, ~/.yashrc
## 他のパッケージマネージャ記録

- Nix - yash: normalized package name match | nixpkgs package indexes: pkgs/by-name/ya/yash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - yash - 2.55-2: normalized package name match | Ubuntu 24.04 LTS package indexes: yash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | yet another shell | https://yash.osdn.jp/
- apk - git-yash-completion - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: git-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Yash completions for git | https://magicant.github.io/yash/
- apk - openssh-client-yash-completion - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: openssh-client-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Yash completions for openssh-client | https://magicant.github.io/yash/
- apk - subversion-yash-completion - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: subversion-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Yash completions for subversion | https://magicant.github.io/yash/
- apk - valgrind-yash-completion - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: valgrind-yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Yash completions for valgrind | https://magicant.github.io/yash/
- apk - yash - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: yash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Yet another shell | https://magicant.github.io/yash/
- apk - yash-binsh - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: yash-binsh from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | yash as /bin/sh | https://magicant.github.io/yash/
- apk - yash-completion - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: yash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Yet another shell (command-line completion) | https://magicant.github.io/yash/
- apk - yash-doc - 2.61-r0: normalized package name match | Alpine Linux edge package indexes: yash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Yet another shell (documentation) | https://magicant.github.io/yash/
- dnf - yash - 2.61-2.fc45: normalized package name match | Fedora Rawhide package metadata: yash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Yet Another SHell | https://github.com/magicant/yash/
- dnf - yash-doc - 2.61-2.fc45: normalized package name match | Fedora Rawhide package metadata: yash-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for yash | https://github.com/magicant/yash/
- MacPorts - yash: normalized package name match | MacPorts ports tree: shells/yash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/yash.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yash.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
