# Install shellharden with Homebrew, apk, MacPorts, Nix, pacman

Bash syntax highlighter that encourages/fixes variables quoting. Version 4.3.2 via Homebrew; verified 2026-06-27. Also installable with nix: nix profile install nixpkgs#shellharden.

## Install

```sh
sudo av install brew:shellharden
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install shellharden
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install shellharden
```

  Evidence: MacPorts ports tree: devel/shellharden/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add shellharden
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#shellharden
```

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

- pacman (92%):

```sh
sudo pacman -S shellharden
```

  Evidence: Arch Linux sync databases: shellharden from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:shellharden
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/shellharden>
- **Version:** 4.3.2
- **Source summary:** Bash syntax highlighter that encourages/fixes variables quoting
- **Homepage:** <https://github.com/anordal/shellharden>
- **Repository:** <https://github.com/anordal/shellharden>
- **Upstream docs:** <https://github.com/anordal/shellharden#readme>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/anordal/shellharden/archive/refs/tags/v4.3.2.tar.gz>
- **Last updated:** 2026-06-27T22:14:51Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- shellharden (cli)
- shellharden (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 4.3.2
- Package-manager updated: 2026-06-27
- Local data: ok
- Upstream repository: https://github.com/anordal/shellharden
- Upstream latest detected: v4.3.2 (current)

## Security Notes

No matching local secret-handling manifest was found for shellharden. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** shellharden
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - shellharden: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shellharden/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - shellharden - 4.3.1-r0: normalized package name match | Alpine Linux edge package indexes: shellharden from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The corrective bash syntax highlighter | https://github.com/anordal/shellharden
- apk - shellharden-doc - 4.3.1-r0: normalized package name match | Alpine Linux edge package indexes: shellharden-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The corrective bash syntax highlighter (documentation) | https://github.com/anordal/shellharden
- pacman - shellharden - 4.3.1-3: normalized package name match | Arch Linux sync databases: shellharden from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Bash linter and syntax highlighter | https://github.com/anordal/shellharden
- MacPorts - shellharden: normalized package name match | MacPorts ports tree: devel/shellharden/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [shellcheck](https://www.automicvault.com/pkg/brew/shellcheck/) - Shares av.db curated category or tags: bash, cli, developer-tools, linting, shell.
- [actionlint](https://www.automicvault.com/pkg/brew/actionlint/) - Shares av.db curated category or tags: cli, developer-tools, linting, static-analysis.
- [argc](https://www.automicvault.com/pkg/brew/argc/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [babelfish](https://www.automicvault.com/pkg/brew/babelfish/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [bash-language-server](https://www.automicvault.com/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [bashate](https://www.automicvault.com/pkg/brew/bashate/) - Shares av.db curated category or tags: bash, cli, developer-tools, linting.
- [bashdb](https://www.automicvault.com/pkg/brew/bashdb/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [beautysh](https://www.automicvault.com/pkg/brew/beautysh/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [checkmake](https://www.automicvault.com/pkg/brew/checkmake/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, linting.
- [cmake-lint](https://www.automicvault.com/pkg/brew/cmake-lint/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, linting.
- [credo](https://www.automicvault.com/pkg/brew/credo/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, linting.

## Combined YAML source

View the package source record on GitHub. [combined/shellharden.yml](https://github.com/automic-vault/db/blob/main/combined/shellharden.yml)


## Sources

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