Claude Code · Automation and CI

Use an API key

Authenticate with an API key from the environment instead of signing in, which suits CI.

export ANTHROPIC_API_KEY="your-api-key"

Official Claude Code documentation

More automation and ci commands

All automation and ci commands · Claude Code cheatsheet

Was this page helpful?