Linear CLI
linear-cli is a non-interactive command-line interface for Linear. It writes a consistent JSON response to standard output, making it suitable for scripts and AI agents that can execute shell commands.
export LINEAR_API_KEY=lin_api_your_key
linear-cli auth whoami
linear-cli issue list --team ENG --limit 5
Every command accepts --pretty for indented JSON. Commands that call Linear also accept --api-key; see authentication for the exact credential order.
Quick workflow
- Install a release binary or use
go install. - Set
LINEAR_API_KEYin the process environment. - Discover workspace data with
team list,user list, andstatus list. - Use IDs returned in JSON for resource-specific operations.
The CLI is a shell interface to the implemented command set. It does not publish a feature-parity or compatibility contract with Linear MCP.