# Installer dash-shell avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de dash-shell pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:dash-shell
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install dash-shell
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dash
```

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

### Linux

- apk (92%):

```sh
sudo apk add dash
```

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

- Debian apt (92%):

```sh
sudo apt install dash
```

  Preuve: Debian stable package indexes: dash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dash
```

  Preuve: Fedora Rawhide package metadata: dash 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#dash
```

  Preuve: nixpkgs package indexes: pkgs/by-name/da/dash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dash
```

  Preuve: Arch Linux sync databases: dash from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dash
```

  Preuve: openSUSE Tumbleweed package metadata: dash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:dash-shell
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.5.13.5
- **Résumé source:** POSIX-compliant descendant of NetBSD's ash (the Almquist SHell)
- **Page d'accueil:** <http://gondor.apana.org.au/~herbert/dash/>
- **Dernière mise à jour:** 2026-07-26T14:49:13Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- dash (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.5.13.5
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <http://gondor.apana.org.au/~herbert/dash>
- <https://git.kernel.org/pub/scm/utils/dash/dash.git/tree/src/dash.1>
- <https://wiki.debian.org/DashAsBinSh>


## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- generalized runtime or code generation signal

## Autres enregistrements de gestionnaires de paquets

- MacPorts - dash: installed executable or alias match | MacPorts ports tree: shells/dash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - dash - 0.5.12-12: installed executable or alias match | Debian stable package indexes: dash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | POSIX-compliant shell | http://gondor.apana.org.au/~herbert/dash/
- Nix - dash: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/da/dash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ash - 0.5.12-6ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | compatibility package for dash | http://gondor.apana.org.au/~herbert/dash/
- Ubuntu apt - dash - 0.5.12-6ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dash from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | POSIX-compliant shell | http://gondor.apana.org.au/~herbert/dash/
- apk - dash - 0.5.13.1-r2: installed executable or alias match | Alpine Linux edge package indexes: dash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Small and fast POSIX-compliant shell | http://gondor.apana.org.au/~herbert/dash/
- apk - dash-binsh - 0.5.13.1-r2: installed executable or alias match | Alpine Linux edge package indexes: dash-binsh from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | dash as /bin/sh | http://gondor.apana.org.au/~herbert/dash/
- apk - dash-dbg - 0.5.13.1-r2: installed executable or alias match | Alpine Linux edge package indexes: dash-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Small and fast POSIX-compliant shell (debug symbols) | http://gondor.apana.org.au/~herbert/dash/
- apk - dash-doc - 0.5.13.1-r2: installed executable or alias match | Alpine Linux edge package indexes: dash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Small and fast POSIX-compliant shell (documentation) | http://gondor.apana.org.au/~herbert/dash/
- dnf - dash - 0.5.13.2-2.fc45: installed executable or alias match | Fedora Rawhide package metadata: dash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Small and fast POSIX-compliant shell | http://gondor.apana.org.au/~herbert/dash/
- pacman - dash - 0.5.13.4-1: installed executable or alias match | Arch Linux sync databases: dash from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | POSIX compliant shell that aims to be as small as possible | http://gondor.apana.org.au/~herbert/dash/
- zypper - dash - 0.5.13.4-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: dash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | POSIX-compliant Implementation of /bin/sh | http://gondor.apana.org.au/~herbert/dash/
- zypper - dash-sh - 0.5.13.4-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: dash-sh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Handle behaviour of /bin/sh | http://gondor.apana.org.au/~herbert/dash/


## Combined YAML source

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


## Sources

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