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
curl --fail --location --show-error https://crystalcode.ink/scripts/install-extended.sh | shmacOS
Same installer as Linux.
curl --fail --location --show-error https://crystalcode.ink/scripts/install-extended.sh | shWindows
Windows needs Git for Windows so Git Bash provides bash.
Invoke-RestMethod -Uri https://crystalcode.ink/scripts/install-extended.ps1 | Invoke-ExpressionUse the standard installer
Rerun the standard installer to update Crystal Code and the browser front end. Rerun the extended installer to update the web search and page fetch plugin as well.
Linux
curl --fail --location --show-error https://crystalcode.ink/install.sh | shmacOS
Same installer as Linux.
curl --fail --location --show-error https://crystalcode.ink/install.sh | shWindows
Windows needs Git for Windows so Git Bash provides bash.
Invoke-RestMethod -Uri https://crystalcode.ink/install.ps1 | Invoke-ExpressionOpen 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
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