# Install shellspec with Homebrew, apk, Nix

BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells. Version 0.28.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#shellspec.

## Install

```sh
sudo av install brew:shellspec
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install shellspec
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add shellspec
```

  Evidence: Alpine Linux edge package indexes: shellspec from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#shellspec
```

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

## Package facts

- **Package key:** brew:shellspec
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/shellspec>
- **Version:** 0.28.1
- **Source summary:** BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells
- **Homepage:** <https://shellspec.info/>
- **Repository:** <https://github.com/shellspec/shellspec>
- **Upstream docs:** <https://shellspec.info/>
- **License:** MIT
- **Source archive:** <https://github.com/shellspec/shellspec/archive/refs/tags/0.28.1.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- shellspec (cli)
- shellspec (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.28.1
- Local data: ok
- Upstream repository: https://github.com/shellspec/shellspec
- Upstream latest detected: 0.28.1 (current)
- info: No package-manager update timestamp was available.

## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- 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: <project-root>/.shellspec
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** shellspec
- **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

## Other Package-Manager Records

- Nix - shellspec: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shellspec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - shellspec - 0.28.1-r0: normalized package name match | Alpine Linux edge package indexes: shellspec from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells | https://shellspec.info/


## Related links

- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [shunit2](https://pkg.so/brew/shunit2/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [shfmt](https://pkg.so/brew/shfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, posix, shell.
- [beakerlib](https://pkg.so/brew/beakerlib/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [cucumber-ruby](https://pkg.so/brew/cucumber-ruby/) - Shares pkgdb curated category or tags: bdd, cli, developer-tools, testing.
- [atf](https://pkg.so/brew/atf/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [shelltestrunner](https://pkg.so/brew/shelltestrunner/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [shellcheck](https://pkg.so/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [fish](https://pkg.so/brew/fish/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [bash_unit](https://pkg.so/brew/bash-unit/) - Local package facts share a topical domain. Shared terms: bash, cli, developer, developer-tools, framework.

## Combined YAML source

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


## Sources

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