hx is a fast, opinionated, batteries-included toolchain CLI for Haskell.
mise plugin install hx https://github.com/raskell-io/mise-hx.git
mise install hx@latest
mise use hx@latestOr add to your mise.toml:
[tools]
hx = "latest"Then run:
mise install# List all available versions
mise ls-remote hx
# Install a specific version
mise install hx@0.4.0
# Use globally
mise use -g hx@0.4.0
# Use in current directory (creates mise.toml)
mise use hx@0.4.0| Platform | Architectures |
|---|---|
| macOS | Apple Silicon (aarch64), Intel (x86_64) |
| Linux | x86_64, aarch64 |
| Windows | x86_64 |
hx wraps existing Haskell tools (GHC, Cabal, GHCup, HLS) in a fast, unified interface:
hx init myapp # Create new project
hx build # Build
hx test # Run tests
hx fmt # Format code
hx add text # Add dependency
hx doctor # Diagnose issues