# 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
- **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>
- **Last updated:** 2026-06-27T22:14:51Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- shellharden (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.3.2

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


## 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.2-1: 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


## Combined YAML source

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


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
