# Environment Variable

say it: **“en-VY-run-ment VAIR-ee-uh-bul”** **/ɛnˈvaɪrənmənt ˈvɛəriəbəl/**

A named setting available to programs, set with \`export\`.

## What is **Environment Variable**?

An **environment variable** is a named setting available to programs, such as `HOME` or `PATH`. Set one with `export`.

```bash
echo $HOME
export API_URL="https://api.example.com"
```

Level: Apprentice · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=2)

Updated: November 17, 2026

## In other subjects

- [Environment Variable in Operating System](https://www.ask-codey.com/glossary/environment-variable-operating-system)
- [Environment Variable in Python](https://www.ask-codey.com/glossary/environment-variable)

Source: https://www.ask-codey.com/glossary/environment-variable-unix
