On OpenSUSE, Crystal can be installed from the official rpm package using Zypper.
First add the signing key:
rpm --import https://dist.crystal-lang.org/rpm/RPM-GPG-KEY
Next configure the repository in Zypper:
sudo zypper ar -e -f -t rpm-md https://dist.crystal-lang.org/rpm/ Crystal
Once the repository is configured, Crystal can be installed:
sudo zypper install crystal
When a new Crystal version is released you can upgrade Crystal using:
sudo zypper update crystal
To the extent possible under law, the persons who contributed to this workhave waived
all copyright and related or neighboring rights to this workby associating CC0 with it.