Arch Linux includes the Crystal compiler in the Community repository. You should also install shards, Crystal’s dependency manager (see The Shards command). Snapcraft is also available.

Install

sudo pacman -S crystal shards

Snapcraft

The Crystal snap requires to be run in classic confinement. If you have snapd installed you’re ready to install Crystal:

sudo snap install crystal --classic

You can also install the latest nightly build by using the edge channel.

sudo snap install crystal --classic --edge

Find further information at Crystal’s snapcraft page