Skip to main content
Lists, sets, removes or replaces the environment variables of an application. For list, the application ID is optional and resolved from the argument, then the squarecloud.app config file, then an interactive picker. For set, remove and replace, pass the application ID with --app instead, since the positional arguments are used for variable names.
The replace subcommand is destructive: it asks for y/N confirmation before wiping the existing variables. Pass -y/--yes to skip the prompt.
Use squarecloud app env --help for more information about this command.