🍺 BREW Explorer

← all formulae

ghcid

brew install ghcid v0.8.9 BSD-3-Clause

Very low feature GHCi based IDE

22
30-day installs · #6517
22
90-day · #9520
22
365-day · #13847
1.2k
★ GitHub stars · updated 2mo ago

Runtime dependencies

gmp

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cabal-install",
    "ghc"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gmp"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Very low feature GHCi based IDE",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:01+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "ghcid",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-05-28T03:04:16Z",
  "github_readme_excerpt": "# ghcid [![Hackage version](https://img.shields.io/hackage/v/ghcid.svg?label=Hackage)](https://hackage.haskell.org/package/ghcid) [![Stackage version](https://www.stackage.org/package/ghcid/badge/nightly?label=Stackage)](https://www.stackage.org/package/ghcid) [![Build status](https://img.shields.io/github/actions/workflow/status/ndmitchell/ghcid/ci.yml?branch=master)](https://github.com/ndmitchell/ghcid/actions)\n\nEither \"GHCi as a daemon\" or \"GHC + a bit of an IDE\". To a first approximation, it opens `ghci` and runs `:reload` whenever your source code changes, formatting the output to fit a fixed height console. Unlike other Haskell development tools, `ghcid` is intended to be _incredibly simple_. In particular, it doesn\u0027t integrate with any editors, doesn\u0027t provide access to the `ghci` it starts, doesn\u0027t depend on GHC the library and doesn\u0027t start web servers.\n\n_Acknowledgements:_ This project incorporates significant work from [JPMoresmau](https://github.com/JPMoresmau), who is listed as a co-author.\n\n### Using it\n\nRun `stack install ghcid` or `cabal update \u0026\u0026 cabal install ghcid` to install it as normal. Then run `ghcid \"--command=ghci Main.hs\"`. The `command` is how you start your project in `ghci`. If you omit `--command` then it will default to `stack ghci` if you have the `stack.yaml` file and `.stack-work` directory, default to `ghci` if you have a `.ghci` file in the current directory, and otherwise default to `cabal repl`.\n\nPersonally, I always create a `.ghci` file at the root of all my projects, which usually [reads something like](https://github.com/ndmitchell/ghcid/blob/master/.ghci):\n\n    :set -fwarn-unused-binds -fwarn-unused-imports\n    :set -isrc\n    :load Main\n\nAfter that, resize your console and make it so you can see it while working in your editor. On Windows you may wish to pass `--topmost` so the console will sit on top of all other windows. On Linux, you probably want to use your window manager to make it topmost or use a [tiling window man",
  "github_repo": "ndmitchell/ghcid",
  "github_stars": 1192,
  "github_topics": [],
  "homepage": "https://github.com/ndmitchell/ghcid",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 22,
  "installs_365d": 22,
  "installs_90d": 22,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "ghcid",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 6517,
  "rank_365d": 13847,
  "rank_90d": 9520,
  "raw_hash": "50f74c9c195bc5f5",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/ghcid.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "ghc"
  ],
  "uses_from_macos": [
    "libffi"
  ],
  "version_head": "HEAD",
  "version_stable": "0.8.9",
  "versioned_formulae": [],
  "why_use_this": null
}