Environment Variables
Environment variables — required vars, OS-specific setup,.env file loading, verification.
Overview
Required Environment Variables
Variable
Description
Required
Example
Setting Environment Variables
Development Environment
# Set for current session
export LAYERLENS_STRATIX_API_KEY="sk-your-key-here"
# Add to shell profile for persistence (.bashrc,.zshrc, etc.)
echo 'export LAYERLENS_STRATIX_API_KEY="sk-your-key-here"' >> ~/.bashrc
# Reload shell configuration
source ~/.bashrcVerification
Using.env Files
Creating.env Files
Last updated
Was this helpful?