AptLynx

Command-line tool

ghc

brew/ghc

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Glorious Glasgow Haskell Compilation System

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

scoop install haskell

macOS

brew install ghc

Linux

brew install ghc

Find and compile all modules in the current directory

ghc Main

Compile a single file

ghc path/to/file.hs

Compile using extra optimization

ghc -O path/to/file.hs

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents