crystal-env(1)

crystal-env1

Print environment variables for the crystal compiler

Usage

crystal env [variables]

Overview

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.

Informative variables

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

Crystal_version

Contains Crystal version.

From crystal 1.22.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.