Skip to content

Glossary: Building with LLMs Basics

Environment variable

Also written: environment variables

A named setting held by your terminal session, such as `ANTHROPIC_API_KEY`. Both SDKs read their keys from specific variable names, so your code never contains the key.

Where the book teaches it

Related terms

API key.env fileBase URL