From ArchWiki

Crystal is a statically typed, compiled programming language with Ruby inspired syntax and global type inference.


Install the crystal package or crystal-gitAUR for the latest development version.

The dependency manager shards is also available in the repositories; install the shards package or shards-gitAUR for the latest development version.


To compile and run a Crystal program:

$ crystal

To compile a Crystal program to a binary:

$ crystal build

To compile an optimized binary:

$ crystal build --release

For more options see:

$ crystal help

See also