Add the APT repository, along with the signing key:
echo "deb http://public.portalier.com raspbian/" > /etc/apt/sources.list.d/crystal.list
curl "http://public.portalier.com/raspbian/julien%40portalier.com-005faf9e.pub" | sudo apt-key add -
Once the repository is configured, you may install/update Crystal and Shards:
sudo apt-get update
sudo apt-get install crystal
armhf
architecture.