CRYSTAL-ENV(1) Crystal Compiler Command Line Reference Guide CRYSTAL-ENV(1)

crystal-env - Print environment variables for the Crystal compiler

crystal env [variables]

Print Crystal-specific environment variables in a format compatible with shell scripts. If one or more variable names are given as arguments, it prints only the value of each named variable on its own line.

Variables:

CRYSTAL_CACHE_DIR

Please see ENVIRONMENT VARIABLES.

CRYSTAL_EXEC_PATH

Please see ENVIRONMENT VARIABLES.

CRYSTAL_LIBRARY_PATH

Please see ENVIRONMENT VARIABLES.

CRYSTAL_PATH

Please see ENVIRONMENT VARIABLES.

CRYSTAL_VERSION

Contains Crystal version.

These variables expose information about the Crystal compiler and cannot be configured externally.

Contains Crystal version.

2026-07-23 crystal 1.21.0