lincli-2026.4.2 is not a library.
lin — Linear CLI
A fast, native CLI for Linear. Manage issues, projects, cycles, and more from your terminal.
Install
Homebrew (macOS)
Cargo
Pre-built Binaries
Download from GitHub Releases — available for macOS (Intel & Apple Silicon) and Linux (x86 & ARM).
From Source
Setup
Get your API key from Linear Settings > API > Personal API keys, then:
Or set it via environment variable:
Usage
Global Flags
| Flag | Description |
|---|---|
--json |
Output raw JSON for scripting |
--debug |
Print GraphQL queries/responses to stderr |
--version |
Show version |
Commands
| Group | Description |
|---|---|
issues |
List, create, update, search, comment, archive, branch lookup |
projects |
List, create, update, search, archive, delete projects |
cycles |
List, create, manage, archive cycles and cycle issues |
initiatives |
Manage initiatives, status updates, link projects |
roadmap |
Project updates and milestones |
labels |
Create, manage, apply labels |
teams |
List teams, members, states, workload |
relations |
Issue dependencies and relations |
customers |
Customer management, needs, tiers |
views |
Custom views and their issues |
docs |
Documents: create, search, manage |
notifications |
View, read, archive, snooze notifications |
me |
Show authenticated user info |
attachments |
Manage issue attachments and links |
search |
Search across issues, projects, and documents |
config |
Manage API key and CLI configuration |
completions |
Generate shell completions (bash, zsh, fish, powershell) |
Why CLI over MCP?
| CLI | MCP | |
|---|---|---|
| Tokens per operation | ~1,300 | ~44,000 |
| Reliability | 100% | ~72% |
| Dependencies | Single binary | Schema injection |
Development
LINEAR_API_KEY=...
Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
License
MIT