Intermediate10 min
Saving and using environment variable sets
Stop hardcoding database URLs and API keys. Save env sets and load them with one command.
01Save an env set
recall env save staging? Variable name: DB_HOST? Value: staging-db.company.com? Variable name: API_KEY? Value: sk-staging-abc123? Variable name: (empty to finish)✔ Saved env set "staging" with 2 variables02Load into your shell
eval $(recall env use staging)# Variables are now available:echo $DB_HOST # staging-db.company.comecho $API_KEY # sk-staging-abc12303Switch environments instantly
eval $(recall env use production)# Instantly switch to production variablesManage env sets
recall env listrecall env show stagingrecall env delete staging