A mise backend plugin that installs Haskell tools through GHCup.
It lets you manage these tools with mise, pinned per project and reproducible across machines:
mise-ghcup:ghc– the Glasgow Haskell Compilermise-ghcup:hls– the Haskell Language Server
Note
These tools are also available, but we don't recommend to install them through GHCup, since they are installable through the Aqua backend, which provides better performance and supply chain safety:
mise-ghcup:stack– the Stack build tool (just use thestacktool instead, will pull from Aqua)mise-ghcup:cabal– the Cabal build tool (just use thecabaltool instead, will pull from Aqua)
- mise
2026.10.17or newer - An installed GHCup. You can manage it through Mise too, with the
ghcuptool, by adding it to yourmise.tomlas shown below.
Add the tools to your project's mise.toml:
# Minimum required mise version for this plugin.
min_version = "2026.10.17"
[tools]
# Set your preferred versions here:
"ghcup" = "latest"
"mise-ghcup:ghc" = "latest"
"mise-ghcup:hls" = "latest"
[settings]
# Backend plugins are experimental, so we need to enable them here.
experimental = trueBelow that, register the plugin, pinned to a release so every machine runs the same plugin code. Releases are signed packslip archives, so mise verifies the plugin before installing it:
[plugins]
"vfox-backend:mise-ghcup" = "packslip:wasp-lang/mise-ghcup#3.0.0"Or install it from the command line:
mise plugins install vfox-backend:mise-ghcup 'packslip:wasp-lang/mise-ghcup#3.0.0'This always points at the latest release. See the releases page for what changed in each one.
Then install everything:
mise installYou can now use the tools, with mise managing the versions:
ghc --versionList the tools this plugin provides (they also show up in shell completion and the mise use picker):
mise search mise-ghcup:List the versions GHCup offers for any tool:
mise ls-remote mise-ghcup:ghcPin a specific version in mise.toml instead of latest:
[tools]
"mise-ghcup:ghc" = "9.10.1"Or use one of GHCup's tags, such as recommended, latest-prerelease, or base-4.20.1.0, which resolve to the newest version carrying that tag:
[tools]
"mise-ghcup:ghc" = "recommended"mise installs and locks the resolved version, and follows the tag when GHCup moves it. This needs mise 2026.10.17 or newer.
By default, versions come from GHCup's default release channel. Set the channel option to use a different one. It accepts anything GHCup's --url-source does: a predefined channel name (prereleases, cross, vanilla, default), a metadata URL, or a file path.
[tools]
"mise-ghcup:ghc" = { version = "latest", channel = "prereleases" }A channel replaces the default one, so the example above only lists prereleases. Pass a list to combine channels:
[tools]
"mise-ghcup:ghc" = { version = "latest", channel = ["default", "prereleases"] }Change the version in mise.toml, then update the installed plugin to the same version. mise doesn't re-read the version once the plugin is installed, so editing mise.toml alone has no effect. For example, to move to the latest release:
mise plugins update mise-ghcup#3.0.0MIT