> ## Documentation Index
> Fetch the complete documentation index at: https://bruno-a6972042-docs-timeline-scripts.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Global Environment Variables

<Info>
  Global variables are stored in the application's memory. You can access them by visiting the About section from Preferences and navigating to the AppData path location.
</Info>

Global environment variables can be used across all collections and requests. Think of them as a global store accessible throughout the app.

Instead of creating the same collection variable repeatedly in each collection, you can use global variables to store common values that need to be accessed across different collections. This eliminates the repetitive task of defining the same variables every time.

## Create a Global Environment Variable

1. Go to the **Environments** section (top right corner).

<img src="https://mintcdn.com/bruno-a6972042-docs-timeline-scripts/qLeHtpKFpf3RFoq7/v2/images/screenshots/variables/no-environment.webp?fit=max&auto=format&n=qLeHtpKFpf3RFoq7&q=85&s=1aa9f9b48e963800c1f861e512d8e50b" alt="No-Environment" width="2684" height="1410" data-path="v2/images/screenshots/variables/no-environment.webp" />

2. Navigate to the **Global** tab and click on **Create**.
3. (Optional) If you need to import an existing environment, you can use the **Import Environment** option.

<img src="https://mintcdn.com/bruno-a6972042-docs-timeline-scripts/qLeHtpKFpf3RFoq7/v2/images/screenshots/variables/global-environment.webp?fit=max&auto=format&n=qLeHtpKFpf3RFoq7&q=85&s=ad6ce6ca5ad5afa795a81ebfc44ec960" alt="global-environment" width="2684" height="1410" data-path="v2/images/screenshots/variables/global-environment.webp" />

4. Enter a name for your environment and click **Create**.

<img src="https://mintcdn.com/bruno-a6972042-docs-timeline-scripts/qLeHtpKFpf3RFoq7/v2/images/screenshots/variables/select-env-name.webp?fit=max&auto=format&n=qLeHtpKFpf3RFoq7&q=85&s=4e9eedc3aa8b232a46f9088b82f511b2" alt="Environment Variables location" width="2684" height="1410" data-path="v2/images/screenshots/variables/select-env-name.webp" />

5. Add a variable by specifying the **Name** and **Value**.

<img src="https://mintcdn.com/bruno-a6972042-docs-timeline-scripts/qLeHtpKFpf3RFoq7/v2/images/screenshots/variables/create-env-key-value-pair.webp?fit=max&auto=format&n=qLeHtpKFpf3RFoq7&q=85&s=726cff6bfb4497cb576656c7f6afaae2" alt="Environment Variables location" width="2656" height="1448" data-path="v2/images/screenshots/variables/create-env-key-value-pair.webp" />

6. Click **Save**.

Your global environment variable is now created and can be accessed across your workspace.

<Warning>
  You can click the secret checkbox to hide the values of variables while
  hovering over them.
</Warning>

## Using Global Environment Variables

To use a global environment variable, reference it using the format `{{var_name}}` in any request or collection. These variables can be combined with other variables and used throughout your workspace, making them ideal for consistent value sharing.

<img src="https://mintcdn.com/bruno-a6972042-docs-timeline-scripts/qLeHtpKFpf3RFoq7/v2/images/screenshots/variables/env-action.webp?fit=max&auto=format&n=qLeHtpKFpf3RFoq7&q=85&s=5b11e211103f3b81bcd67fc5d54ce284" alt="Environment Variables location" width="2656" height="1448" data-path="v2/images/screenshots/variables/env-action.webp" />

## Import/Export Global Environment Variables

<Info>
  For detailed instructions on importing and exporting global environment variables, see the [Import/Export Environments](/get-started/import-export-data/import-export-environments) guide.
</Info>
