Environment Variables

Sensitive data like passwords and API keys can be stored in Environment Variables to be used when running Commands. Environment variables are divided into global environment variables and local environment variables.

Global Environment Variables

Global environment variables are variables that can be used in all terminals and Commands. You can set global environment variables on the Container setting page. You can view the list of Key-Value pairs in the table of environment variables on the Container setting page.

Local Environment Variables

Local environment variables are variables that can be used only in specific commands. You can set local environment variables on the Command settings tab within the workspace. You can view the list of Key-Value pairs in the table of environment variables on the Command settings tab.

Using Environment Variables

You can use environment variables in terminals and Commands using the following format: ${Key_Of_The_Environment_Variable}

Command Variables

Command variables are default environment variables provided by the goormIDE, consisting of values that might be challenging for users to manage easily. You can check the list of command variables on the command settings tab. The usage of command variables is the same as using environment variables.

Last updated