Alpine Linux includes the Crystal compiler in the community repository, starting from version Alpine 3.7.
Currently, the package is only available for aarch64
and x86_64
platforms.
apk add crystal shards
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.
https://crystal-lang.org/docs/installation/on_alpine_linux.html