[FEATURE] Headless Install w/API Key
Resolved 💬 2 comments Opened Feb 6, 2026 by DLTKDavidFarthing Closed Mar 6, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
We are trying to integrate Claude Code on our build agents in Azure Devops/TFS. There doesn't appear to be a way to run Claude for the first time without being prompted for an OAuth login (interactive). Not sure if this is a bug or a feature. Based on my searches it used to be supported, per #11631. This is really cramping our ability to run automated PR code reviews!
Proposed Solution
Allow us to pass an API key to the install, on the command line, in settings file, etc., and have Claude not prompt us for initial login in that scenario.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗