# Stack

> A program for developing Haskell projects

Source: https://talira.ai/catalog/stack-m7m1em13
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / build systems](https://talira.ai/categories/developer-tools/build/build-systems), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Platforms: linux, macos, windows[^6]
- Licence: BSD-3-Clause[^4][^5]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Backed by: [Commercial Haskell SIG](https://talira.ai/orgs/commercial-haskell.md)

Stack is a command-line program for developing [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md) projects, for new and experienced users on Linux, macOS and Windows. It installs the GHC compiler a project needs automatically, fetches its packages from a curated snapshot, and builds, tests and benchmarks the project, with commands for running GHC interactively, scripting, and building in Docker or Nix. It can be installed directly or through GHCup.

## Links

- Website: https://haskellstack.org/
- GitHub: https://github.com/commercialhaskell/stack
- Docs: https://haskellstack.org/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/haskell-stack>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/haskell-stack>[^2]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/stack>[^3]

## Problems it solves

- set up a Haskell project without installing the compiler and packages by hand
- get reproducible Haskell builds where everyone uses the same package versions
- build, test and run a Haskell project from one command-line tool

## Features

- Installs the right GHC version for each project automatically
- Builds projects against curated package snapshots for reproducible builds
- Build, test, bench, ghci, exec and script commands
- Multi-package projects
- Docker and Nix integration

## Trust

Overall: 0.65 out of 1.
Signals: maintenance 0.90, adoption 0.72, momentum 0.45, community 1.00, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 45 commits in the last 90 days
- latest release v3.11.1 5 months ago
- 4.1k GitHub stars
- 480 contributors
- 148 Homebrew installs in 30 days
- backed by Commercial Haskell SIG

## Related

- Works with [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md)

## Alternatives

- [Cabal](https://talira.ai/catalog/cabal-rjaw57bd.md): System for building and packaging Haskell libraries and programs
- [Scala CLI](https://talira.ai/catalog/scala-cli-k6p6n7y1.md): Command-line tool to compile, run, test and package Scala code
- [sbt](https://talira.ai/catalog/sbt-7d3076a1.md): A simple build tool for Scala and Java

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 27 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 27 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 27 Nov 2026)
[^4]: https://github.com/commercialhaskell/stack/blob/master/LICENSE (checked 27 Nov 2026)
[^5]: https://github.com/commercialhaskell/stack/blob/master/package.yaml (checked 27 Nov 2026)
[^6]: https://haskellstack.org/ (checked 27 Nov 2026)
