Search the documentation
2 pages for --betas.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
CLI reference
Claude Code CLI · in the page
cli-reference
…| | `--betas` | Beta headers to include in API requests (API key users only)…
Environment variables
Claude Code CLI · in the page
env-vars
…pi/beta-headers) before Claude Code adds native support. Unlike the [`--betas` flag](/docs/en/cli-reference#cli-flags), which requires API key authentication, this variable works with all auth methods…