Automic VaultAutomic Vault

brew

Install hindent with Homebrew, MacPorts, pacman, apt

Haskell pretty printer. Version 6.3.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install hindent

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install hindent

MacPorts ports tree · textproc/hindent/Portfile · source: api.github.com

overview

Package summary

Haskell pretty printer

Commands and aliases

  • hindent

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2014-08-24: Repository history begins with the first commit.
  • 2014-08-30: 1.0 is tagged.
  • 2014-09: 2.x and 3.x releases are tagged during rapid early development.
  • 2014-11: 4.0 is tagged.
  • 2026-01-24: Hackage records upload of hindent 6.3.0.

Related projects

  • Hackage and Stackage are the package registry and curated package-set surfaces where many Haskell developers encounter hindent.
  • Editor integrations include the repository's Emacs mode, Vim `formatprg`, vim-hindent, and JetBrains File Watchers.
  • Related Haskell formatting tools include stylish-haskell, ormolu, fourmolu, and brittany, though hindent's official materials focus on its own formatter and editor integrations.

Sources

  • Hackage package page for package description, versions, maintainer, upload, source repo, license, and distribution context.
  • Official Git repository tags and commits for early timeline.
  • Official README for usage, editor integration, and customization.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 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
hindentcliglobal 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-07-08
manager version6.3.0
manager updated
local dataok
upstreamcurrent
latest detectedv6.3.0

https://github.com/mihaimaruseac/hindent

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:hindent
Version6.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/hindent
Homepagehttps://github.com/mihaimaruseac/hindent
Repositoryhttps://github.com/mihaimaruseac/hindent
Upstream docshttps://github.com/mihaimaruseac/hindent#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/mihaimaruseac/hindent/archive/refs/tags/v6.3.0.tar.gz
Dependenciesgmp
Build dependenciescabal-install, ghc@9.12
Uses from macOSlibffi
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 Namehindent
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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.

Ubuntu apt95%

hindent 5.3.4-1build2

Extensible Haskell pretty printer

https://github.com/mihaimaruseac/hindent

sudo apt install hindent
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: haskell-hindent
  • 4 dependencies
  • normalized package name match
  • Matched by: Hindent
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hindent from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

hindent 6.1.1-38

Extensible Haskell pretty printer

https://github.com/mihaimaruseac/hindent

sudo pacman -S hindent
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 12 dependencies
  • normalized package name match
  • Matched by: Hindent
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: hindent from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

hindent

sudo port install hindent
  • normalized package name match
  • Matched by: Hindent
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/hindent/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

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