Termux is a terminal emulator and Linux command line environment on Android that does not require a rooted device to run. Programs under Termux are linked against the Android OS’s Bionic C runtime library.
aarch64 builds are available.
Crystal 1.9 or above is available on Termux’s official package repository:
pkg install crystal
The Termux repository only hosts the latest versions of its packages, including LLVM, which Crystal depends on. Crystal releases may fall behind if they do not support the most recent LLVM version.
When a new Crystal version is released you can upgrade your system using:
To remove Crystal on Termux:
pkg uninstall crystal