'\" t .\" Title: crystal-env .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.26 .\" Date: 2026-07-23 .\" Manual: Crystal Compiler Command Line Reference Guide .\" Source: crystal 1.21.0 .\" Language: English .\" .TH "CRYSTAL\-ENV" "1" "2026-07-23" "crystal 1.21.0" "Crystal Compiler Command Line Reference Guide" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" crystal-env \- Print environment variables for the Crystal compiler .SH "SYNOPSIS" .sp \fBcrystal env\fP [variables] .SH "DESCRIPTION" .sp 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. .sp Variables: .sp \fBCRYSTAL_CACHE_DIR\fP .RS 4 Please see ENVIRONMENT VARIABLES. .RE .sp \fBCRYSTAL_EXEC_PATH\fP .RS 4 Please see ENVIRONMENT VARIABLES. .RE .sp \fBCRYSTAL_LIBRARY_PATH\fP .RS 4 Please see ENVIRONMENT VARIABLES. .RE .sp \fBCRYSTAL_PATH\fP .RS 4 Please see ENVIRONMENT VARIABLES. .RE .sp \fBCRYSTAL_VERSION\fP .RS 4 Contains Crystal version. .RE .SH "INFORMATIVE VARIABLES" .sp These variables expose information about the Crystal compiler and cannot be configured externally. .SS "CRYSTAL_VERSION" .sp Contains Crystal version.