Out Plane
env

env

The env commands.

Environment variables belong to one application. A variable group is a set of them held once and shared by several. These commands read and change both, and move variables between a file and the platform.

Two things are worth knowing before the rest. Saving a variable does not restart anything, so a change reaches the running application at its next deployment, which --deploy starts for you. And a variable set on an application is a different thing from one it receives through a group: env list shows the first, env group get shows the second.

Commands

CommandWhat It DoesRisk
env listList an application's environment variables.read
env getPrint one environment variable.read
env setSet environment variables.write
env unsetRemove environment variables.write
env pullWrite an application's environment variables to a file.read
env pushSet an application's environment variables from a file.write
env runRun a local command with an application's environment variables.write
env group listList the team's shared variable groups.read
env group getShow what a group holds.read
env group createCreate a shared variable group.write
env group setChange a group's variables or settings.write
env group assignGive an application a group's variables.write
env group unassignStop an application using a group.write
env group deletePermanently delete a variable group.destructive

On this page