The official installer for NeoHaskell. Sets up everything you need to start building with Neo.
curl -fsSL https://raw.githubusercontent.com/neohaskell/neo-installer/main/scripts/bootstrap.sh | shDownload the latest binary for your platform from Releases:
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | neo-install-aarch64-apple-darwin |
| macOS (Intel) | neo-install-x86_64-apple-darwin |
| Linux (x86_64) | neo-install-x86_64-unknown-linux-gnu |
| Linux (aarch64) | neo-install-aarch64-unknown-linux-gnu |
chmod +x neo-install-*
./neo-install-*| Flag | Description |
|---|---|
--dry-run |
Show what would be done without doing it |
--verbose |
Show detailed output |
--force |
Reinstall even if already installed |
--help |
Show help information |
--version |
Show version |
The installer performs three steps:
- Toolchain Setup — Installs the required build toolchain if not already present
- Neo CLI — Installs the Neo command-line interface
- Verification — Confirms everything is working correctly
After installation, run neo new myproject to create your first project.
| OS | Architecture | Status |
|---|---|---|
| macOS | Apple Silicon (aarch64) | ✅ Supported |
| macOS | Intel (x86_64) | ✅ Supported |
| Linux | x86_64 | ✅ Supported |
| Linux | aarch64 | ✅ Supported |
- Rust toolchain (install via rustup)
cargo buildcargo testcargo clippy -- -D warnings
cargo fmt --checkThe installer is built in Rust and uses the Determinate Nix Installer under the hood to set up the Nix package manager, then installs Neo CLI via nix profile install.
Source modules:
detect.rs— Platform and existing installation detectioninstall.rs— Nix and Neo CLI installation logicverify.rs— Post-install verificationui.rs— Terminal output and progress indicatorserror.rs— Error types and exit codes
MIT