# 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/yash>
- **バージョン:** 2.61
- **ソース概要:** Yet another shell: a POSIX-compliant command-line shell
- **ホームページ:** <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>
- **生成日時:** 2026-07-26T07:20:29+00:00

## 実行可能ファイル

- yash (cli)
- yash (エイリアス)

## 依存関係

- gettext

## macOS 提供ライブラリ

- ncurses

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-26
- マネージャ版: 2.61
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/magicant/yash
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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
## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- 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.60-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.60-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.60-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.60-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.60-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.60-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.60-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.60-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-1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Yet Another SHell | https://github.com/magicant/yash/
- dnf - yash-doc - 2.61-1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gettext](https://www.automicvault.com/ja/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [dash-shell](https://www.automicvault.com/ja/pkg/brew/dash-shell/) - Shares av.db curated category or tags: cli, posix, shell, system, unix.
- [etsh](https://www.automicvault.com/ja/pkg/brew/etsh/) - Shares av.db curated category or tags: cli, posix, shell, system, unix.
- [bash](https://www.automicvault.com/ja/pkg/brew/bash/) - Shares av.db curated category or tags: cli, shell, system, unix.
- [execline](https://www.automicvault.com/ja/pkg/brew/execline/) - Shares av.db curated category or tags: cli, posix, shell, system.
- [nq](https://www.automicvault.com/ja/pkg/brew/nq/) - Shares av.db curated category or tags: cli, shell, system, unix.
- [nsh](https://www.automicvault.com/ja/pkg/brew/nsh/) - Shares av.db curated category or tags: cli, posix, shell, system.
- [posh](https://www.automicvault.com/ja/pkg/brew/posh/) - Shares av.db curated category or tags: cli, posix, shell, system.
- [tcsh](https://www.automicvault.com/ja/pkg/brew/tcsh/) - Shares av.db curated category or tags: cli, shell, system, unix.
- [clifm](https://www.automicvault.com/ja/pkg/brew/clifm/) - Local package facts share a topical domain. Shared terms: cli, command-line, gettext, line, shell.

## Combined YAML source

View the package source record on GitHub. [combined/yash.yml](https://github.com/automic-vault/db/blob/main/combined/yash.yml)


## ソース

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