# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.goorm.io/en/goormide/workspace/features/environment-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
