macOS
brew install hindentlocal Homebrew formula metadata
sudo port install hindentMacPorts ports tree · textproc/hindent/Portfile · source: api.github.com
brew
Haskell pretty printer. Version 6.3.0 via Homebrew; verified from local package data.
install
brew install hindentlocal Homebrew formula metadata
sudo port install hindentMacPorts ports tree · textproc/hindent/Portfile · source: api.github.com
sudo pacman -S hindentArch Linux sync databases · hindent · source: geo.mirror.pkgbuild.com
sudo apt install hindentUbuntu 24.04 LTS package indexes · hindent · source: archive.ubuntu.com
overview
Haskell pretty printer
history
hindent is a Haskell pretty-printer and source formatter distributed as both a Haskell package and a CLI executable. Its package-manager role is straightforward: it gives editors, hooks, and shell pipelines a stable `hindent` command for reformatting Haskell source.
The repository history begins on 2014-08-24 with a first commit and rapid follow-up commits for printer structure, expression constructors, pattern support, declarations, where clauses, and a basic executable. The first visible tag, 1.0, followed on 2014-08-30, and the project iterated quickly through 2.x, 3.x, and 4.x tags in late 2014.
Hackage describes hindent as an extensible Haskell pretty printer, both a library and an executable, and points users to the GitHub repository for usage. Over time the package continued through 5.x and 6.x releases while tracking parser and language-extension needs in the Haskell ecosystem.
hindent's adoption is tied to Haskell editor and build workflows. Its README documents use in pipeline style, Emacs `hindent-mode`, Vim `formatprg`, a Vim plugin, and JetBrains File Watchers. Hackage lists the package under development, library, and program tags, which reflects its dual role as code and executable.
The package appears in Homebrew, MacPorts, Arch, Ubuntu, Hackage, and Stackage contexts, making it familiar to developers who expect language formatters to be installable from their OS or language package manager.
The basic usage model is `cat path/to/sourcefile.hs | hindent` or passing filenames to the CLI. Options cover line length, indent or tab size, import sorting, trailing newline behavior, validation, and GHC language extensions.
The README documents project- or home-level `.hindent.yaml` customization with indentation, line length, import sorting, line breaks, and extensions. Editor integrations use the same CLI, so the package works without a separate daemon or language-server dependency.
hindent matters to package nerds because it is a classic formatter package: tiny surface area, editor-friendly, pipeline-friendly, and available in multiple package systems. It represents the era when language communities standardized formatting through standalone executables before formatter support was expected inside every language server.
It is also a useful Haskell packaging specimen because it lives simultaneously on Hackage and GitHub, depends on parser libraries, and must follow language evolution as GHC syntax grows.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hindent | cli | global executable |
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.
https://github.com/mihaimaruseac/hindent
install metadata
| Package key | brew:hindent |
|---|---|
| Version | 6.3.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hindent |
| Homepage | https://github.com/mihaimaruseac/hindent |
| Repository | https://github.com/mihaimaruseac/hindent |
| Upstream docs | https://github.com/mihaimaruseac/hindent#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/mihaimaruseac/hindent/archive/refs/tags/v6.3.0.tar.gz |
| Dependencies | gmp |
| Build dependencies | cabal-install, ghc@9.12 |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hindent |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
hindent 5.3.4-1build2
Extensible Haskell pretty printer
https://github.com/mihaimaruseac/hindent
sudo apt install hindenthindent 6.1.1-38
Extensible Haskell pretty printer
https://github.com/mihaimaruseac/hindent
sudo pacman -S hindenthindent
sudo port install hindentsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.