> ## Documentation Index
> Fetch the complete documentation index at: https://www.jetify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Haskell

> Haskell projects that use the Stack Framework can be run in Devbox by adding the Stack and the Cabal packages to your project. You may also want to include libraries that Stack requires for compilation (described below).

[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/development/haskell/)

## Adding Haskell and Stack to your Project[​](#adding-haskell-and-stack-to-your-project "Direct link to Adding Haskell and Stack to your Project")

`devbox add stack cabal-install zlib hpack`, or add the following to your `devbox.json`

```json theme={null}
  "packages": [
    "stack@latest",
    "cabal-install@latest",
    "zlib@latest",
    "hpack@latest"
  ]
```

This will install GHC, and the Haskell Tool Stack in your Devbox Shell at their latest version. You
can find other installable versions of Stack by running `devbox search <pkg>`.

[Edit this page](https://github.com/jetify-com/docs/tree/main/docs/devbox/devbox-examples/languages/haskell/index.mdx)
