Install

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

A complete first setup

The extended installer sets up Crystal Code, the browser front end, and the web search and page fetch plugin. It adds the default provider and theme catalogs when their directories are empty or missing.

Linux

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

macOS

ARM64x64

Same installer as Linux.

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

Windows

x64ARM64

Windows needs Git for Windows so Git Bash provides bash.

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

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

Both installers replace the contents of the web directory in your Crystal Code home by default. If you host your own front end there, run the downloaded installer with --skip-web on Linux or macOS, or -SkipWeb in PowerShell.

Serve the browser front end with crystal web

View the installer source

Crystal Code ships with a small set of providers and models. A maintained catalog of more of them lives in its own repository.

Provider and model catalog