| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A cross-platform Linear CLI with unblocked issue filtering, built for AI-assisted development.
npm install -g @dabble/linear-cliThis installs:
# First-time setup (opens browser, prompts for API key, pick team)
linear login
# Find issues ready to work on (no blockers)
linear issues --unblocked
# View issue details
linear issue show ISSUE-1
# Update issue with notes
linear issue update ISSUE-1 --append "Found the root cause..."linear login # Interactive setup (prompts for location)
linear logout # Remove config
linear whoami # Show current user and teamlinear issues # Default: backlog + todo
linear issues --unblocked # Ready to work on
linear issues --open # All non-completed issues
linear issues --done # Completed/canceled issues
linear issues --json # Structured JSON output
linear issues --open --count # Count matching issues
linear issues --status in-progress # Filter by status
linear issues --status todo --status in-progress # Multiple statuses
linear issues --mine # Only your issues
linear issues --label bug # Filter by label
linear issue show ISSUE-1 # Full details with parent context
linear issue start ISSUE-1 # Assign to you + set In Progress
linear issue create --title "..." --project "Phase 1" --assign --estimate M
linear issue create --title "..." --blocked-by ISSUE-2
linear issue create --title "Sub-task" --parent ISSUE-1
linear issue update ISSUE-1 --append "Notes..."
linear issue update ISSUE-1 --blocks ISSUE-3
linear issue close ISSUE-1
linear issue comment ISSUE-1 "Comment"linear branch ISSUE-1 # Create branch: ISSUE-1-issue-titlelinear next # Pick an issue, create worktree, start Claude
linear next --dry-run # Preview what would happen
linear done # Close issue, show worktree cleanup commands
linear done --no-close # Just show cleanup commands
linear done --keep-branch # Don't suggest deleting the branchThe next command creates isolated git worktrees for each issue, making it easy to work on multiple issues in parallel with Claude Code. Worktrees are stored in ~/.claude-worktrees/<repo>/<branch>.
Shell setup (add to ~/.zshrc or ~/.bashrc):
lnext() { eval "$(linear next "$@")"; }This wrapper is what makes next turnkey. linear next does the worktree, file copy, and install itself, but its final cd into the new worktree and claude --plan launch are printed to stdout rather than executed, since a child process can't change its parent shell's directory. The lnext function evals that output so the cd lands in your shell and Claude opens in the worktree automatically.
Then use lnext to:
.worktreeinclude file: List gitignored files/directories that should be copied to new worktrees:
.linear .env
linear labels # List all labels
linear label create "bug" --color "#FF0000"linear projects # Active projects
linear projects --all # Include completed
linear project show "Phase 1" # Details with issues
linear project create "Name" --description "..."
linear project complete "Phase 1" # Mark doneConfig is loaded in order:
# .linear file format
api_key=lin_api_xxx
team=ISSUE
# Or use environment variables
export LINEAR_API_KEY=lin_api_xxx
export LINEAR_TEAM=ISSUEThis CLI is designed to work seamlessly with Claude Code. After installation:
Skill files:
/next command (~/.claude/commands/next.md): Run /next in Claude Code to find your next issue to work on.
/done command (~/.claude/commands/done.md): Run /done to wrap up work on an issue.
Global permissions: Adds Bash(linear:*) and Skill(...) entries to ~/.claude/settings.json so Claude can use the CLI and bundled skills anywhere without prompting.
We tried existing Linear CLIs but hit bugs. This CLI does exactly what we need with zero npm dependencies.
MIT
| Back | FazBrowse Home | New Git URL |