linear-cli-0.1.0 is not a library.
linear-cli
A fast, powerful command-line interface for Linear built with Rust.
Features
- Full API Coverage - Projects, issues, labels, teams, users, cycles, comments, documents
- Git Integration - Checkout branches for issues, create PRs linked to issues
- jj (Jujutsu) Support - First-class support for Jujutsu VCS alongside Git
- Local Sync - Sync local project folders with Linear
- Search - Find issues and projects instantly
- Interactive Mode - TUI for browsing and managing issues interactively
- Multiple Workspaces - Switch between Linear workspaces seamlessly
- Bulk Operations - Perform actions on multiple issues at once
- JSON Output - Machine-readable output for scripting and automation
- Shell Completions - Tab completions for Bash, Zsh, Fish, and PowerShell
- Fast - Native Rust binary, no runtime dependencies
Installation
From crates.io (Recommended)
From Source
Pre-built Binaries
Download from GitHub Releases.
Add to PATH
# Linux/macOS
# Or add to your shell profile
# Windows (PowerShell as Admin)
# Or add to User PATH (no admin required)
Quick Start
# 1. Configure your API key (get one at https://linear.app/settings/api)
# 2. List your projects
# 3. Create an issue
Commands
| Command | Alias | Description |
|---|---|---|
projects |
p |
Manage projects |
issues |
i |
Manage issues |
labels |
l |
Manage labels |
teams |
t |
List and view teams |
users |
u |
List and view users |
cycles |
c |
Manage sprint cycles |
comments |
cm |
Manage issue comments |
documents |
d |
Manage documents |
search |
s |
Search issues and projects |
sync |
sy |
Sync local folders with Linear |
statuses |
st |
View issue statuses |
git |
g |
Git branch operations and PR creation |
jj |
j |
Jujutsu VCS operations |
workspace |
ws |
Manage multiple workspaces |
interactive |
ui |
Interactive TUI mode |
bulk |
b |
Bulk operations on issues |
completions |
- | Generate shell completions |
config |
- | CLI configuration |
Usage Examples
Projects
Issues
Labels
Git Integration
jj (Jujutsu) Integration
Sync Local Folders
Search
Other Commands
# Teams
# Users
# Cycles
# Comments
# Documents
# Statuses
# Config
Interactive Mode
Multiple Workspaces
Bulk Operations
Shell Completions
# Generate completions for your shell
JSON Output
# Use --output json with any list or get command
|
Configuration
Configuration is stored at:
- Linux/macOS:
~/.config/linear-cli/config.toml - Windows:
%APPDATA%\linear-cli\config.toml
Claude Code Integration
Add linear-cli to your Claude Code instructions:
&&
Comparison with Other CLIs
| Feature | @linear/cli |
linear-go |
linear-cli |
|---|---|---|---|
| Last updated | 2021 | 2023 | 2025 |
| Create issues | ✓ | ✓ | ✓ |
| Git checkout | ✓ | ✓ | ✓ |
| Git PR creation | ✗ | ✗ | ✓ |
| jj (Jujutsu) support | ✗ | ✗ | ✓ |
| List/manage projects | ✗ | ✓ | ✓ |
| CRUD for all resources | ✗ | ✗ | ✓ |
| Search | ✗ | ✓ | ✓ |
| Local folder sync | ✗ | ✗ | ✓ |
| Issue statuses | ✗ | ✗ | ✓ |
| Documents | ✗ | ✗ | ✓ |
| Issue start/stop workflow | ✗ | ✗ | ✓ |
| Interactive TUI mode | ✗ | ✗ | ✓ |
| Multiple workspaces | ✗ | ✗ | ✓ |
| Bulk operations | ✗ | ✗ | ✓ |
| JSON output | ✗ | ✓ | ✓ |
| Shell completions | ✗ | ✓ | ✓ |
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request