Install

Nightly Builds

Nightly builds of the Crystal compiler are available from these locations:

Tarball

Tarballs with nightly builds are available for the following platforms:

See Install from tar.gz for further instructions.

Docker

Nightly builds are available on the nightly tag on the Docker repository of Crystal.

docker pull crystallang/crystal:nightly

Homebrew

The homebrew formula for Crystal provides the HEAD version for building from the master branch.

brew install crystal --HEAD

Snapcraft

Nightly builds are available on the edge channel of the Snapcraft repository of Crystal.

snap install crystal --classic --edge

Scoop

Nightly builds are available via the package manager Scoop on Windows in the bucket https://github.com/neatorobito/scoop-crystal:

scoop bucket add crystal-preview https://github.com/neatorobito/scoop-crystal
scoop install crystal-nightly

From Sources

See Build from sources for further instructions and pull the content of the master branch, instead of a tagged release version.

wget https://github.com/crystal-lang/crystal/archive/refs/heads/master.zip
# or
git clone git@github.com:crystal-lang/crystal

GitHub Actions

Nightly builds are available in GitHub Actions with the install-crystal action.


Done installing?

Learn

Found any issues?

Forum support.