Environment Variables
Find the environment variables declared by Link's commands and libraries, including internal and test overrides. Each link opens the declaration that owns its meaning, default and supported values.
Read a declaration
A command declares a variable directly or through an option. A library
declares its runtime inputs in its Cargo metadata. The index links each
owner's explanation, including dynamic namespaces. For command variable names and descriptions, use lnk variable list, or
lnk variable list agent start to narrow the list. Current values are never read.
Declared variables
This inventory reads command declarations and library metadata. The source
audit requires an owning declaration for each static LNK_* read in
production Rust code. Variables consumed only by external programs remain
outside that audit's scope.
ANTHROPIC_API_KEYAWS_DEFAULT_REGIONAWS_PROFILEAWS_REGIONBRAVE_API_KEYCLICOLOR_FORCECLOUDSDK_CONFIGGOOGLE_APPLICATION_CREDENTIALSHOMELNK_AGENTLNK_AGENT_FOLDERLNK_AGENT_IDLNK_ARTIFACT_BUDGETLNK_ARTIFACT_CACHELNK_AUDIT_WRITELNK_AUTH— also 2LNK_AWSLNK_BOXLNK_BOX_SSHLNK_CONFIGLNK_CRONTABLNK_DISCORD_APILNK_DISCORD_TOKENLNK_EXELNK_FALLBACK_CREDENTIALLNK_FILESLNK_GCLOUDLNK_GCS_BUCKETLNK_GCS_PREFIXLNK_GCS_TOKENLNK_GCS_TOKEN_FILELNK_GCS_URLLNK_GITHUB_URLLNK_HERE_DIRLNK_INNERLNK_INSECURELNK_INSTALL_DIRLNK_JOB_OUTLNK_KEYCHAINLNK_LOCAL_DIRLNK_MACHINE_DIRLNK_MACHINE_LOCALLNK_MEASURESLNK_MEMORYLNK_MEMORY_FROMLNK_MEMORY_MODELLNK_MEMORY_NOTESLNK_MEMORY_SPECLNK_MODEL_URLLNK_NO_BROWSER— also 2, 3LNK_OUTPUT_COLORLNK_OUTPUT_EMPHASISLNK_OUTPUT_LINKSLNK_OUTPUT_SYMBOLSLNK_OWNERLNK_PERSONAL_DIRLNK_PORTLNK_PROXY_LISTENER_FDLNK_RCLONELNK_RELAY— also 2, 3LNK_RELEASES_URLLNK_SANDBOX_LEARN_FDLNK_SANDBOX_OPENLNK_SECRETS_FDLNK_SECRET_DUMPABLELNK_SECURITYLNK_SERVICESLNK_SIGNAL_CLILNK_SIGNAL_NUMBERLNK_SIGNAL_OWNERLNK_SLACK_APILNK_SLACK_APP_TOKENLNK_SLACK_BOT_TOKENLNK_SSHLNK_SSH_KEYGENLNK_STORE_AGENTLNK_STORE_DIRLNK_SUDOLNK_TELEGRAM_APILNK_TELEGRAM_TOKENLNK_TEST_BOOTSTRAPLNK_TEST_BOX_ENDLNK_TEST_BOX_ROOTLNK_TEST_BRIDGE_NONE_FOR_MSLNK_TEST_CALNK_TEST_JOB_GROUPLNK_TEST_KEEPERLNK_TEST_MACHINE_KINDLNK_TEST_MIGRATE_STOPLNK_TEST_ON_CLOUDLNK_TEST_RELEASE_SIGNERSLNK_TEST_RESOLVELNK_TEST_SERVICE_CONFIGLNK_TEST_SYSTEMD_RUNLNK_TEST_TPM_DEVICELNK_TEST_WORKERS_CONFIGLNK_TOKEN— also 2LNK_UPDATE_NOTICELNK_VERSIONLNK_WEB_SEARCHLNK_WEB_SEARCH_URLNO_COLOROPENAI_API_KEYOPENROUTER_API_KEYRUST_LOGTAVILY_API_KEY
Dynamic namespaces
These patterns describe variable families read by the owning library. A pattern does not authorize a new literal variable name. Caller-selected reader APIs have separate declarations in the same Cargo metadata.