---
name: "alr-printenv"
section: "1"
platform: "linux"
package: "alire"
version: "1.2.1-2.1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/alr-printenv"
---

# alr-printenv(1)

Print the build environment variables

## NAME

alr-printenv - Print the build environment variables

## SYNOPSIS

*alr printenv* \[options\]

## OPTIONS

- \--details

  Print details about the environment variables and their origin

- \--unix

  Use a UNIX shell format for the export (default)

- \--powershell

  Use a Windows PowerShell format for the export

- \--wincmd

  Use a Windows CMD shell format for the export

## GLOBAL OPTIONS

- \-c, --config=*ARG*

  Override configuration folder location

- \-f, --force

  Keep going after a recoverable troublesome situation

- \-h, --help

  Display general or command-specific help

- \-n, --non-interactive

  Assume default answers for all user prompts

- \--no-color

  Disables colors in output

- \--no-tty

  Disables control characters in output

- \--prefer-oldest

  Prefer oldest versions instead of newest when resolving dependencies

- \--version

  Displays version and exits

- \-q

  Limit output to errors

- \-v

  Be more verbose (use twice for extra detail)

- \-d, --debug\[\]

  Enable debug-specific log messages

## DESCRIPTION

Print the environment variables used to build the crate. This command can be used to setup a build environment, for instance before starting an IDE.

Examples: - eval $(alr printenv *--unix*) - alr printenv *--powershell* \| Invoke-Expression

## SEE ALSO

*[alr(1)](/alr/1.md)*, *[alr-config(1)](/alr-config/1.md)*, *[alr-toolchain(1)](/alr-toolchain/1.md)*, *[alr-version(1)](/alr-version/1.md)*, *[gprbuild(1)](/gprbuild/1.md)*

## AUTHOR

Generated with generate-man from Alire execution
