pkg.soopen package index

brew / rank 3767

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

Haskell code prettifier. Version 0.15.1.0 via Homebrew; verified 2026-07-22. Also installable with debian: sudo apt install stylish-haskell.

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 bottle metadata was recorded.

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-haskellexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version0.15.1.0
manager updated2026-07-22
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:stylish-haskell
Version0.15.1.0
Package managerHomebrew
Homepagehttps://github.com/haskell/stylish-haskell
Repositoryhttps://github.com/haskell/stylish-haskell
Last updated2026-07-22T13:45:34Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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-62

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
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation