Linear CLI

CLI for Linear that integrates with agentic workflows (Claude Code, OpenClaw). Manage issues, projects, and workflows from the terminal.

Linear CLI by @NessZerra is a comprehensive command-line interface for Linear.app built in Rust, designed specifically for integration with agentic workflows. It covers the full Linear feature set — issues, projects, cycles, sprints, documents, teams, and more — with 16 issue subcommands alone. The CLI supports both API key and OAuth authentication, secure keyring storage, and outputs in human-readable tables, JSON, or compact single-line format optimized for chat bot consumption. What makes this particularly valuable for OpenClaw users is the `--compact` output mode, which produces single-line summaries that fit naturally into Telegram or Discord messages. An agent can run `linear-cli i list --mine --compact` and get a clean, pasteable list of assigned issues. The full issue lifecycle is covered: create, assign, start (with automatic branch checkout), update status, add comments, close, and archive — all from the terminal. The tool is distributed via crates.io (`cargo install linear-cli`) with pre-built binaries for Linux, macOS, and Windows. It includes a self-update mechanism (`linear-cli update`) and supports advanced features like custom view filters, batch operations, project health tracking, and Git integration for branch creation and PR workflows.

Tags: devtools, linear, cli, issues

Category: devtools

Tips

  • Install with `cargo binstall linear-cli` for pre-built binaries — much faster than compiling from source
  • Use `--compact` output mode when integrating with OpenClaw — it produces single-line summaries optimized for chat messages
  • Set up the `linear-cli i start LIN-123 --checkout` workflow to automatically assign, set status to In Progress, and create a Git branch in one command
  • Enable `--features secure-storage` during installation to use OS keyring (macOS Keychain, Windows Credential Manager) for API key storage
  • Pair with OpenClaw's coding agent to create a full loop: assign issue → coding agent works on it → create PR → update issue status

Community Feedback

A fast, comprehensive command-line interface for Linear built in Rust. Manage issues, projects, cycles, sprints, documents, and more — entirely from your terminal.

— GitHub

CLI for Linear that integrates with agentic workflows (Claude Code, OpenClaw). Manage issues, projects, and workflows from the terminal.

— OpenClaw Showcase

Frequently Asked Questions

Do I need a Linear paid plan to use this CLI?

You need a Linear account with API access. Linear's free tier includes API access, so you can use the CLI with any Linear plan. Get your API key from Linear Settings → API.

How does it compare to Linear's official CLI?

Linear doesn't have an official CLI. This is a community tool built specifically for terminal and agent workflows. It's comprehensive, covering features that even the Linear web app buries in menus.

Can my OpenClaw agent manage Linear issues automatically?

Yes. Install the CLI on your OpenClaw host, configure the API key, and your agent can create issues, update statuses, add comments, and manage the full issue lifecycle through conversation.

Does it support Linear's custom views and filters?

Yes. You can apply saved custom views with `--view` and filter by team, assignee, state, label, project, and time range. Group results by state, priority, assignee, or project.