---
name: "crystal-env"
section: "1"
platform: "linux"
package: "crystal"
version: "1.22.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/crystal-env"
---

# crystal-env(1)

Print environment variables for the Crystal compiler

## NAME

crystal-env - Print environment variables for the Crystal compiler

## SYNOPSIS

**crystal env** \[variables\]

## DESCRIPTION

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.
