pkg.soopen package index

brew / rank 6802

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

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install shellharden

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install shellharden

MacPorts ports tree · devel/shellharden/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add shellharden

Alpine Linux edge package indexes · shellharden · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#shellharden

nixpkgs package indexes · pkgs/by-name/sh/shellharden/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S shellharden

Arch Linux sync databases · shellharden · source: geo.mirror.pkgbuild.com

overview

Package summary

Bash syntax highlighter that encourages/fixes variables quoting

Commands and aliases

  • shellharden

history

Project history and usage

Shellharden highlights Bash syntax and proposes or applies changes intended to improve quoting and reduce reliance on unsafe word splitting or glob expansion.

Project history

The tool was originally known as Naziquote and was later renamed Shellharden. It developed into a Rust-based corrective Bash syntax highlighter focused chiefly on quoting and on semi-automating changes associated with ShellCheck guidance.

Adoption history

Shellharden is distributed as an official Rust crate and has also been packaged by multiple operating-system ecosystems, including Homebrew, Alpine, Arch, MacPorts, and Nix according to the supplied package metadata.

How it is used

The default mode behaves like cat with syntax highlighting and suggested additions or removals. Users may request transformation, but the maintainer explicitly requires human review because scripts can intentionally depend on unquoted shell behavior. Shellharden has no documented persistent configuration or credential files.

Why package nerds care

Shellharden occupies an unusual niche between a linter, syntax highlighter, and source-to-source fixer. Package maintainers value it because it can turn quoting advice into reviewable edits while retaining a deliberately conservative warning against blind transformation.

Timeline

  • Early project: Released under the former name Naziquote.
  • Later project: Renamed Shellharden and developed as a Rust package with corrective highlighting and transformation.
  • Current documentation: Distributed through Cargo and several system package managers.

Related projects

  • ShellCheck is the principal related project and prior art. Shellharden complements it by attempting corrective rewrites rather than only reporting problems.

security posture

No protected-tool coverage found yet

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

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
shellhardencliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version4.3.2
manager updated2026-09-13
local dataok
upstreamcurrent
latest detectedv4.3.2

https://github.com/anordal/shellharden

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:shellharden
Version4.3.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/shellharden
Homepagehttps://github.com/anordal/shellharden
Repositoryhttps://github.com/anordal/shellharden
LicenseMPL-2.0
Source archivehttps://github.com/anordal/shellharden/archive/refs/tags/v4.3.2.tar.gz
Last updated2026-09-13T09:36:45Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

shellharden

nix profile install nixpkgs#shellharden
  • normalized package name match
  • Matched by: Shellharden
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sh/shellharden/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

shellharden 4.3.1-r0

The corrective bash syntax highlighter

https://github.com/anordal/shellharden

sudo apk add shellharden
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: shellharden
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Shellharden
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shellharden from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

shellharden-doc 4.3.1-r0

The corrective bash syntax highlighter (documentation)

https://github.com/anordal/shellharden

sudo apk add shellharden-doc
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: shellharden
  • normalized package name match
  • Matched by: Shellharden
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shellharden-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

shellharden 4.3.2-1

Bash linter and syntax highlighter

https://github.com/anordal/shellharden

sudo pacman -S shellharden
  • License: MPL-2.0
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Shellharden
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: shellharden from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

shellharden

sudo port install shellharden
  • normalized package name match
  • Matched by: Shellharden
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/shellharden/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation