Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 dash-shell

查看 dash-shell 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dash-shell

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dash

MacPorts ports tree · shells/dash/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add dash

Alpine Linux edge package indexes · dash · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install dash

Debian stable package indexes · dash · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install dash

Fedora Rawhide package metadata · dash · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#dash

nixpkgs package indexes · pkgs/by-name/da/dash/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S dash

Arch Linux sync databases · dash · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install dash

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

时间线

  • Almquist shell era: ash provided the small POSIX shell lineage that dash descends from.
  • Debian dash-as-bin-sh era: dash became a prominent `/bin/sh` implementation for package scripts.
  • Present: dash is maintained in the kernel.org source tree and packaged across Unix-like systems.

Related projects

  • dash is related to ash, NetBSD sh, BusyBox ash, Bash in POSIX mode, and the broader family of `/bin/sh` implementations used by Unix package scripts.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dashcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.5.13.4
管理器更新时间2026-05-24
本地数据OK
上游not checked
检测到的最新版本未检测到

http://gondor.apana.org.au/~herbert/dash/

安装元数据

软件包元数据

软件包键brew:dash-shell
版本0.5.13.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dash-shell
主页http://gondor.apana.org.au/~herbert/dash/
仓库https://git.kernel.org/pub/scm/utils/dash/dash.git
上游文档https://git.kernel.org/pub/scm/utils/dash/dash.git/tree/src/dash.1
许可证BSD-3-Clause
源码归档https://cdn.netbsd.org/pub/pkgsrc/distfiles/dash-0.5.13.4.tar.gz
最后更新2026-05-24T15:18:04Z
Pulseupdated
构建依赖autoconf, automake
macOS 提供的库libedit
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts94%

dash

sudo port install dash
  • installed executable or alias match
  • 匹配方式:Dash
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/dash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

dash 0.5.12-12

POSIX-compliant shell

http://gondor.apana.org.au/~herbert/dash/

sudo apt install dash
  • Section: shells
  • Architecture: amd64
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Dash
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

dash

nix profile install nixpkgs#dash
  • installed executable or alias match
  • 匹配方式:Dash
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/da/dash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

ash 0.5.12-6ubuntu5

compatibility package for dash

http://gondor.apana.org.au/~herbert/dash/

sudo apt install ash
  • Section: universe/shells
  • Architecture: all
  • Source Package: dash
  • installed executable or alias match
  • 匹配方式:Dash
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

dash 0.5.12-6ubuntu5

POSIX-compliant shell

http://gondor.apana.org.au/~herbert/dash/

sudo apt install dash
  • Section: shells
  • Architecture: amd64
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Dash
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dash from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk92%

dash 0.5.13.1-r2

Small and fast POSIX-compliant shell

http://gondor.apana.org.au/~herbert/dash/

sudo apk add dash
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dash
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Dash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

dash-binsh 0.5.13.1-r2

dash as /bin/sh

http://gondor.apana.org.au/~herbert/dash/

sudo apk add dash-binsh
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dash
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Dash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dash-binsh from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

dash-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-dbg
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dash
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Dash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dash-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

dash-doc 0.5.13.1-r2

Small and fast POSIX-compliant shell (documentation)

http://gondor.apana.org.au/~herbert/dash/

sudo apk add dash-doc
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dash
  • installed executable or alias match
  • 匹配方式:Dash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf92%

dash 0.5.13.2-1.fc45

Small and fast POSIX-compliant shell

http://gondor.apana.org.au/~herbert/dash/

sudo dnf install dash
  • License: BSD-3-Clause AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dash
  • 3 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Dash
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

dash 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 dash
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Dash
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dash from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper92%

dash 0.5.13.1-1.2

POSIX-compliant Implementation of /bin/sh

http://gondor.apana.org.au/~herbert/dash/

sudo zypper install dash
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Category: System/Shells
  • Architecture: x86_64
  • Source Package: dash
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Dash
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

dash-sh 0.5.13.1-1.2

Handle behaviour of /bin/sh

http://gondor.apana.org.au/~herbert/dash/

sudo zypper install dash-sh
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: dash
  • 1 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式:Dash
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dash-sh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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