Install

Self-contained builds for Linux, macOS, and Windows.

Linux

x64ARM64
Shell
curl --fail --location --show-error https://crystalcode.ink/install.sh | sh

macOS

ARM64

Same installer as Linux.

Shell
curl --fail --location --show-error https://crystalcode.ink/install.sh | sh

Windows

x64

Windows needs Git for Windows so Git Bash provides bash.

PowerShell
Invoke-RestMethod -Uri https://crystalcode.ink/install.ps1 | Invoke-Expression

Open a new terminal, then run crystal on Linux or macOS, or CrystalCode on Windows.