Environment variables

You can set, delete, and print all environment variables in your cloud development environment. This is possible either by calling Foundry CLI's commands or inside the interactive prompt.

Foundry CLI commands

Set the specified environment variables in your cloud environment:

$ foundry env-set ENV_1=VAL_1 ENV_2=VAL_2

Delete the specified environment variables in your cloud environment:

$ foundry env-delete ENV_1 ENV_2

Print all previously set environment variables in your cloud environment:

$ foundry env-print

Prompt commands

Set the specified environment variables in your cloud environment:

> env-set ENV_1=VALUE ENV_2=VALUE

Delete the specified environment variables in your cloud environment:

> env-delete ENV_1 ENV_2

Print all previously set environment variables in your cloud environment:

> env-print

‚Äč