Automic VaultAutomic Vault

brew

Install stylish-haskell with Homebrew, apt, Nix, pacman

Haskell code prettifier. Version 0.15.1.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install stylish-haskell

local Homebrew formula metadata

overview

Package summary

Haskell code prettifier

Commands and aliases

  • stylish-haskell

history

Project history and usage

stylish-haskell is a Haskell source prettifier focused on practical cleanup rather than whole-program reformatting. Its README says the tool aligns and sorts imports, groups language pragmas, removes trailing whitespace, aligns records and cases, converts line endings, and can be used as a filter in editors.

Project history

The Cabal metadata lists Jasper Van der Jeugt as author and maintainer and carries a 2012 copyright notice. The README describes the original design goal as avoiding formatters that get in the way while automating tedious import and layout cleanup.

Adoption history

The README documents installation through `stack install`, `cabal install`, Debian, Ubuntu, and Arch Linux, while the input package-manager facts also list Homebrew, Nix, Debian, and Pacman packages. It is also exposed through editor workflows including Haskell Language Server, Vim, Emacs, Atom, and Visual Studio Code integrations.

How it is used

Common usage is either project-level formatting through `.stylish-haskell.yaml` or editor-filter usage such as piping a buffer through `stylish-haskell`. The README documents a search order that checks an explicit `--config`, the current or nearest ancestor `.stylish-haskell.yaml`, the platform config directory, the home directory, and finally defaults.

Why package nerds care

Package maintainers care about stylish-haskell because it is a small CLI with predictable config discovery, broad Haskell package-manager availability, and a long life across GHC and Cabal releases. Its changelog is largely about compiler and parser compatibility, which is exactly the kind of maintenance surface Haskell packagers track.

Timeline

  • 2012: Cabal metadata lists the project copyright and original authorship.
  • 2024-01-19: Version 0.14.6.0 added GHC 9.8 support according to the official changelog.
  • 2025-04-13: Version 0.15.1.0 added GHC 9.12 support according to the official changelog.

Related projects

  • The README names Haskell Language Server, haskell-mode, vim-autoformat, vim-stylish-haskell, stylish-haskell-vscode, Stack, Cabal, and ghc-lib-parser-adjacent packaging concerns as part of its ecosystem.

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.stylish-haskell.yaml$XDG_CONFIG_HOME/stylish-haskell/config.yaml~/.config/stylish-haskell/config.yaml~/.stylish-haskell.yaml
Windows
%APPDATA%/stylish-haskell/config.yaml

executables

Installed executables

CommandKindExposureNote
stylish-haskellcliglobal 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 version0.15.1.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/haskell/stylish-haskell

install metadata

Package metadata

Package keybrew:stylish-haskell
Version0.15.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/stylish-haskell
Homepagehttps://github.com/haskell/stylish-haskell
Repositoryhttps://github.com/haskell/stylish-haskell
Upstream docshttps://github.com/haskell/stylish-haskell#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/haskell/stylish-haskell/archive/refs/tags/v0.15.1.0.tar.gz
Dependenciesgmp
Build dependenciescabal-install, ghc
Uses from macOSlibffi
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namestylish-haskell
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.

Debian apt95%

stylish-haskell 0.14.5.0-3

Haskell code prettifier

https://github.com/haskell/stylish-haskell

sudo apt install stylish-haskell
  • Section: haskell
  • Architecture: amd64
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Stylish Haskell
Debian stable package indexes · deb.debian.org · Debian stable package indexes: stylish-haskell from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

stylish-haskell

nix profile install nixpkgs#stylish-haskell
  • normalized package name match
  • Matched by: Stylish Haskell
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: stylish-haskell from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman95%

stylish-haskell 0.14.5.0-42

Haskell code prettifier

https://github.com/haskell/stylish-haskell

sudo pacman -S stylish-haskell
  • License: BSD
  • Architecture: x86_64
  • 11 dependencies
  • normalized package name match
  • Matched by: Stylish Haskell
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: stylish-haskell from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment