macOS
brew install mkshlocal Homebrew formula metadata
sudo port install mkshMacPorts ports tree · shells/mksh/Portfile · ソース: api.github.com
brew
mksh のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install mkshlocal Homebrew formula metadata
sudo port install mkshMacPorts ports tree · shells/mksh/Portfile · ソース: api.github.com
sudo apk add mkshAlpine Linux edge package indexes · mksh · ソース: dl-cdn.alpinelinux.org
sudo dnf install mkshFedora Rawhide package metadata · mksh · ソース: dl.fedoraproject.org
nix profile install nixpkgs#mkshnixpkgs package indexes · pkgs/by-name/mk/mksh/package.nix · ソース: api.github.com
sudo zypper install mkshopenSUSE Tumbleweed package metadata · mksh · ソース: download.opensuse.org
概要
MirBSD Korn Shell
履歴
mksh, the MirBSD Korn Shell, is a Bourne/POSIX/Korn-style command interpreter and scripting language. The official site describes it as an actively developed free implementation of the Korn Shell programming language and successor to the Public Domain Korn Shell line.
The mksh FAQ traces the lineage from the Public Domain Bourne Shell and pdksh, through OpenBSD cleanup work, to MirBSD development beginning in 2002. After 2004, development added portability, parser reorganization, bug fixes, and features influenced by ksh93, bash, zsh, BSD csh, and POSIX work.
The official mksh page lists R59c from October 31, 2020 as the current version and provides signed source distributions plus instructions for CVS HEAD.
mksh became the system shell in several operating systems and Linux distributions. The FAQ says it is used as Android's system shell for startup, background, and user-invoked commands.
Its broad packaging footprint across Homebrew, Debian, Ubuntu, Alpine, Fedora, Nix, MacPorts, and SUSE reflects a mature portable shell rather than a platform-specific utility.
The mksh manual describes it as a command interpreter for both interactive and shell-script use, with a command language that is a superset of sh and POSIX shell and largely compatible with the original Korn shell.
Interactive users normally use `~/.mkshrc` or `$ENV`; login shells also process profile files. Packagers commonly install `dot.mkshrc` into `/etc/skel/.mkshrc` or `/etc/mkshrc` with a user-editable wrapper.
mksh matters to package nerds because shells sit at the boundary between user environment, system boot scripts, and package maintainer scripts. It is a small but consequential runtime whose packaging choices affect `/bin/sh` compatibility, skeleton rc files, Android system behavior, and historical Korn shell compatibility.
It is also a case where the official project explicitly labels its GitHub mirror unofficial, so package metadata should prefer the MirBSD homepage, signed distfiles, manual, FAQ, and CVS/CVSweb sources.
セキュリティ状態
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.
/etc/skel/.mkshrc/etc/mkshrc~/.mkshrc~/.profile/etc/profile/etc/suid_profile/etc/shells実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
mksh | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://mbsd.evolvis.org/mksh.htm
インストールメタデータ
| パッケージキー | brew:mksh |
|---|---|
| バージョン | 59c |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/mksh |
| ホームページ | https://mbsd.evolvis.org/mksh.htm |
| リポジトリ | https://www.mirbsd.org/cvs.cgi/src/bin/mksh |
| 上流ドキュメント | https://mbsd.evolvis.org/mksh.htm |
| ライセンス | MirOS |
| ソースアーカイブ | https://mbsd.evolvis.org/MirOS/dist/mir/mksh/mksh-R59c.tgz |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mksh |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
mksh 59c-41+b2
MirBSD Korn Shell
sudo apt install mkshmksh
nix profile install nixpkgs#mkshmksh 59c-37
MirBSD Korn Shell
sudo apt install mkshmksh 59c-r4
MirBSD Korn Shell
sudo apk add mkshmksh-doc 59c-r4
MirBSD Korn Shell (documentation)
sudo apk add mksh-docmksh 59c-15.fc44
MirBSD enhanced version of the Korn Shell
https://www.mirbsd.org/mksh.htm
sudo dnf install mkshmksh 59c-7.1
MirBSD Korn Shell
https://mbsd.evolvis.org/mksh.htm
sudo zypper install mkshmksh
sudo port install mkshソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.