macOS
brew install dash-shelllocal Homebrew formula metadata
sudo port install dashMacPorts ports tree · shells/dash/Portfile · 来源: api.github.com
安装
brew install dash-shelllocal Homebrew formula metadata
sudo port install dashMacPorts ports tree · shells/dash/Portfile · 来源: api.github.com
sudo apk add dashAlpine Linux edge package indexes · dash · 来源: dl-cdn.alpinelinux.org
sudo dnf install dashFedora Rawhide package metadata · dash · 来源: dl.fedoraproject.org
nix profile install nixpkgs#dashnixpkgs package indexes · pkgs/by-name/da/dash/package.nix · 来源: api.github.com
sudo pacman -S dashArch Linux sync databases · dash · 来源: geo.mirror.pkgbuild.com
sudo zypper install dashopenSUSE Tumbleweed package metadata · dash · 来源: download.opensuse.org
概览
POSIX-compliant descendant of NetBSD's ash (the Almquist SHell)
历史
dash is a small POSIX shell descended from the Almquist shell lineage. In package-manager culture it is the fast, minimal `/bin/sh` candidate: less interactive shell comfort than Bash, but a tighter target for scripts that claim POSIX portability.
dash descends from NetBSD's ash, the Almquist shell, and is maintained as a lightweight command interpreter for POSIX shell scripts. Its manual documents a shell focused on command execution, scripts, redirection, expansions, and built-ins rather than interactive user features.
The project became especially visible through Debian and Ubuntu system-shell work, where dash's speed and small size made it a candidate for `/bin/sh`. That history turned a modest shell implementation into an important compatibility test for shell scripts.
Debian's dash-as-bin-sh effort made dash part of everyday Linux packaging culture: maintainer scripts and `/bin/sh` scripts needed to stop relying on Bash-only behavior. The result was not just adoption of a shell, but pressure toward cleaner POSIX shell scripting across packages.
Homebrew packages it as `dash-shell` to avoid name ambiguity while still exposing the `dash` executable. Other Unix-like distributions package it simply as `dash`, often as a system scripting shell rather than an interactive login shell.
Typical use is running POSIX shell scripts directly with `dash` or using it as `/bin/sh` on systems configured that way. It normally has no package-specific user config or credential store; shell startup behavior and scripts are governed by POSIX shell conventions and the system configuration.
dash matters because it catches accidental Bashisms. If a package maintainer script works under dash, it is more likely to be genuinely portable `/bin/sh`; if it breaks, the package has probably encoded an undeclared Bash dependency.
安全态势
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/profile~/.profile可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dash | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
http://gondor.apana.org.au/~herbert/dash/
安装元数据
| 软件包键 | brew:dash-shell |
|---|---|
| 版本 | 0.5.13.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dash-shell |
| 主页 | http://gondor.apana.org.au/~herbert/dash/ |
| 上游文档 | http://gondor.apana.org.au/~herbert/dash/ |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://cdn.netbsd.org/pub/pkgsrc/distfiles/dash-0.5.13.5.tar.gz |
| 最后更新 | 2026-10-26T14:32:21+02:00 |
| Pulse | updated |
| 构建依赖 | autoconf, automake |
| macOS 提供的库 | libedit |
| Bottle | 可用 (于 arm64_golden_gate, 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 | dash-shell |
| 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 软件包链接分开显示。
dash
sudo port install dashdash 0.5.12-12
POSIX-compliant shell
http://gondor.apana.org.au/~herbert/dash/
sudo apt install dashdash
nix profile install nixpkgs#dashash 0.5.12-6ubuntu5
compatibility package for dash
http://gondor.apana.org.au/~herbert/dash/
sudo apt install ashdash 0.5.12-6ubuntu5
POSIX-compliant shell
http://gondor.apana.org.au/~herbert/dash/
sudo apt install dashdash 0.5.13.1-r2
Small and fast POSIX-compliant shell
http://gondor.apana.org.au/~herbert/dash/
sudo apk add dashdash-binsh 0.5.13.1-r2
dash as /bin/sh
http://gondor.apana.org.au/~herbert/dash/
sudo apk add dash-binshdash-dbg 0.5.13.1-r2
Small and fast POSIX-compliant shell (debug symbols)
http://gondor.apana.org.au/~herbert/dash/
sudo apk add dash-dbgdash-doc 0.5.13.1-r2
Small and fast POSIX-compliant shell (documentation)
http://gondor.apana.org.au/~herbert/dash/
sudo apk add dash-docdash 0.5.13.2-2.fc45
Small and fast POSIX-compliant shell
http://gondor.apana.org.au/~herbert/dash/
sudo dnf install dashdash 0.5.13.4-1
POSIX compliant shell that aims to be as small as possible
http://gondor.apana.org.au/~herbert/dash/
sudo pacman -S dashdash 0.5.13.4-1.3
POSIX-compliant Implementation of /bin/sh
http://gondor.apana.org.au/~herbert/dash/
sudo zypper install dashdash-sh 0.5.13.4-1.3
Handle behaviour of /bin/sh
http://gondor.apana.org.au/~herbert/dash/
sudo zypper install dash-sh来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.