stack: The Haskell Tool Stack

[ bsd3, development, library, program ] [ Propose Tags ]

Please see the for usage information, and the wiki on Github for more details. Also, note that the API for the library is not currently stable, and may change significantly, even between minor releases. It is currently only intended for use by the executable.

[Skip to Readme]
Versions [faq] 0.0.0, 0.0.1, 0.0.2,, 0.0.3,,,,,,,,,,,,, 1.0.0, 1.0.2, 1.0.4,,,, 1.1.0, 1.1.2, 1.2.0, 1.3.0, 1.3.2, 1.4.0, 1.5.0, 1.5.1, 1.6.1,, 1.6.3,, 1.6.5, 1.7.1, 1.9.1,, 1.9.3,, 2.1.1,, 2.1.3,, 9.9.9 (info)
Change log
Dependencies aeson (>= && <0.11), async (>=2.0.2), attoparsec (>=, base (>=4.7 && <5), base16-bytestring, base64-bytestring, bifunctors (>=4.2.1), binary (>=0.7), bytestring (>=, Cabal (>=, conduit (>=1.2.4), conduit-combinators (>=0.3.1), conduit-extra (>=, containers (>=, cryptohash (>=0.11.6), cryptohash-conduit, deepseq, directory (>=, either (<4.6), enclosed-exceptions, exceptions (>=, fast-logger (>=2.3.1), file-embed, filepath (>=, hashable (>=, http-client (>=0.4.9), http-client-tls (>=0.2.2), http-conduit (>=2.1.5 && <2.2), http-types (>=0.8.6), lifted-base, monad-control, monad-logger (>=, monad-loops (>=, mtl (>=, old-locale (>=, optparse-applicative (>= && <0.13), optparse-simple (>=0.0.3 && <0.1), path (>=0.5.1 && <0.6.1), persistent (>=2.1.2), persistent-sqlite (>=2.1.4), persistent-template (>=2.1.1), pretty, process (>=, resourcet (>=, safe (>=0.3), split, stack, stm (>=2.4.4), streaming-commons (>=, tar (>=, template-haskell, temporary (>=, text (>=, time (>=1.4.2), transformers (>=, transformers-base (>=0.4.4), unix (>=, unordered-containers (>=, vector (>=, vector-binary-instances, void (>=0.7), word8, yaml (>=, zlib (>= [details]
License BSD-3-Clause
Author Chris Done
Revised Revision 1 made by HerbertValerioRiedel at Thu Feb 14 14:28:23 UTC 2019
Category Development
Home page
Source repo head: git clone
Uploaded by borsboom at Tue Jun 23 16:53:05 UTC 2015
Distributions Arch:2.1.3, Debian:1.7.1, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables stack
Downloads 33645 total (1243 in the last 30 days)
Rating 2.0 (votes: 5) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user [build log]
Last success reported on 2015-06-23 [all 1 reports]





Run the integration test suite


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for stack-

[back to package description]

The Haskell Tool Stack

Build Status

stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.

<img src="" width="50%" align="right">

It features:

  • Installing GHC automatically.
  • Installing packages needed for your project.
  • Building your project.
  • Testing your project.
  • Benchmarking your project.

How to install

Downloads are available by operating system:

How to use

Go into a Haskell project directory and run stack build. If everything is already configured, this will:

  • Download the package index.
  • Download and install all necessary dependencies for the project.
  • Build and install the project.

You may be prompted to run some of the following along the way:

  • stack new to create a brand new project.
  • stack init to create a stack configuration file for an existing project. stack will figure out what Stackage release (LTS or nightly) is appropriate for the dependencies.
  • stack setup to download and install the correct GHC version. (For information on installation paths, please use the stack path command.)

Run stack for a complete list of commands.


A full description of the architecture is available here.

Questions, Feedback, Discussion

  • For frequently asked questions about detailed or specific use-cases, please see the FAQ.
  • For general questions, comments, feedback and support please write to the stack mailing list.
  • For bugs, issues, or requests please open an issue.

Why stack?

stack is a project of the Commercial Haskell group, spearheaded by FP Complete. It is designed to answer the needs of commercial Haskell users, hobbyist Haskellers, and individuals and companies thinking about starting to use Haskell. It is intended to be easy to use for newcomers, while providing the customizability and power experienced developers need.

While stack itself has been around since June of 2015, it is based on codebases used by FP Complete for its corporate customers and internally for years prior. stack is a refresh of that codebase combined with other open source efforts like stackage-cli to meet the needs of users everywhere.

A large impetus for the work on stack was a large survey of people interested in Haskell, which rated build issues as a major concern. The stack team hopes that stack can address these concerns.