Linear CLI Commands (from linear completions bash)
Version: linear v1.9.1-inj.2
Global options
-h,--help: show help-V,--version: show version-w,--workspace: specify workspace-j,--json: output JSON
Top-level commands
auth: manage authenticationissue(aliasi): manage issuesteam(aliast): manage teamsproject(aliasp): manage projectsproject-update: manage project updatesmilestone: manage milestonesinitiative: manage initiativesinitiative-update: manage initiative updateslabel: manage labelsdocument: manage documentscompletions: generate shell completionsconfig: interactively generate.linear.tomlschema: print the GraphQL schema
auth
Commands
linear auth login: login to Linear (-k --key)linear auth logout: logout from Linear (-f --force)linear auth list: list authenticated workspaceslinear auth default: set default workspacelinear auth token: print configured API tokenlinear auth whoami: print authenticated user info
issue
Commands
linear issue id: show the issue ID for the current branchlinear issue list: list issueslinear issue title: show the title for the current branchlinear issue start: start work on an issuelinear issue view: view issue detailslinear issue url: print issue URLlinear issue describe: describe issue referenceslinear issue commits: list commits for issuelinear issue pull-request: create or open a pull request for the issuelinear issue delete: delete an issuelinear issue create: create an issuelinear issue update: update an issuelinear issue comment: manage commentslinear issue attach: attach a file to an issuelinear issue relation: manage issue relations
issue list flags
-s --state: filter by state--all-states: show all states--assignee: filter by assignee-A --all-assignees: show all assignees-U --unassigned: show unassigned only--sort: sort order--team: filter by team--project: filter by project--limit: limit results-w --web: open in web-a --app: open in app--no-pager: disable pager
issue start flags
-A --all-assignees: show all assignees-U --unassigned: show unassigned only-f --from-ref: start from reference-b --branch: specify branch name
issue view flags
-w --web: open in web-a --app: open in app--no-comments: hide comments--no-pager: disable pager-j --json: output JSON--no-download: don't download content
issue describe flags
-r --references --ref: show references
issue pull-request flags
--base: base branch--draft: create as draft-t --title: PR title--web: open in web--head: head branch
issue delete flags
-y --confirm: confirm deletion--bulk: bulk delete--bulk-file: bulk delete from file--bulk-stdin: bulk delete from stdin
issue create flags
--start: start work immediately-a --assignee: assignee--due-date: due date-p --parent: parent issue--priority: priority level--estimate: estimate-d --description: description-l --label: label--team: team--project: project-s --state: state--no-use-default-template: don't use default template--no-interactive: non-interactive mode-t --title: title
issue update flags
-a --assignee: assignee-u --unassign: unassign--due-date: due date-p --parent: parent issue--priority: priority level--estimate: estimate-d --description: description-l --label: label--team: team--project: project-s --state: state-t --title: title
issue comment commands
linear issue comment add: add comment (-b --body,-p --parent,-a --attach)linear issue comment update: update comment (-b --body)linear issue comment list: list comments (-j --json)
issue attach flags
-t --title: attachment title-c --comment: comment ID to attach to
issue relation commands
linear issue relation add: add relationlinear issue relation delete: delete relationlinear issue relation list: list relations
team
Commands
linear team create: create a teamlinear team delete: delete a teamlinear team list: list teamslinear team id: show team IDlinear team autolinks: show team autolinkslinear team members: list team members
team create flags
-n --name: team name-d --description: description-k --key: team key--private: make private--no-interactive: non-interactive mode
team delete flags
--move-issues: move issues to team-y --force: force deletion
team list flags
-w --web: open in web-a --app: open in app
team members flags
-a --all: show all members-o --organization: show organization members
project
Commands
linear project list: list projectslinear project view: view projectlinear project create: create a project
project list flags
--team: filter by team--all-teams: show all teams--status: filter by status-w --web: open in web-a --app: open in app
project view flags
-w --web: open in web-a --app: open in app
project create flags
-n --name: project name-d --description: description-t --team: team-l --lead: project lead-s --status: status--start-date: start date--target-date: target date--initiative: initiative-i --interactive: interactive mode
project-update
Commands
linear project-update create: create project updatelinear project-update list: list project updates
project-update create flags
--body: update body--body-file: body from file--health: health status-i --interactive: interactive mode
project-update list flags
--json: output JSON--limit: limit results
milestone
Commands
linear milestone list: list milestoneslinear milestone view: view milestonelinear milestone create: create milestonelinear milestone update: update milestonelinear milestone delete: delete milestone
milestone list flags
--project: filter by project
milestone create flags
--project: project--name: milestone name--description: description--target-date: target date
milestone update flags
--name: new name--description: new description--target-date: new target date--sort-order: sort order--project: project
milestone delete flags
-f --force: force deletion
initiative
Commands
linear initiative list: list initiativeslinear initiative view: view initiativelinear initiative create: create initiativelinear initiative archive: archive initiativelinear initiative update: update initiativelinear initiative unarchive: unarchive initiativelinear initiative delete: delete initiativelinear initiative add-project: add project to initiativelinear initiative remove-project: remove project from initiative
initiative list flags
-s --status: filter by status--all-statuses: show all statuses-o --owner: filter by owner-w --web: open in web-a --app: open in app-j --json: output JSON--archived: show archived
initiative view flags
-w --web: open in web-a --app: open in app-j --json: output JSON
initiative create flags
-n --name: initiative name-d --description: description-s --status: status-o --owner: owner--target-date: target date-c --color: color--icon: icon-i --interactive: interactive mode
initiative archive flags
-y --force: force archive--bulk: bulk archive--bulk-file: bulk from file--bulk-stdin: bulk from stdin
initiative update flags
-n --name: new name-d --description: new description--status: new status--owner: new owner--target-date: new target date--color: new color--icon: new icon-i --interactive: interactive mode
initiative unarchive flags
-y --force: force unarchive
initiative delete flags
-y --force: force deletion--bulk: bulk delete--bulk-file: bulk from file--bulk-stdin: bulk from stdin
initiative add-project flags
--sort-order: sort order
initiative remove-project flags
-y --force: force removal
initiative-update
Commands
linear initiative-update create: create initiative updatelinear initiative-update list: list initiative updates
initiative-update create flags
--body: update body--body-file: body from file--health: health status-i --interactive: interactive mode
initiative-update list flags
-j --json: output JSON--limit: limit results
label
Commands
linear label list: list labelslinear label create: create labellinear label delete: delete label
label list flags
--team: filter by team--workspace: show workspace labels--all: show all labels-j --json: output JSON
label create flags
-n --name: label name-c --color: label color-d --description: description-t --team: team-i --interactive: interactive mode
label delete flags
-t --team: team-f --force: force deletion
document
Commands
linear document list: list documentslinear document view: view documentlinear document create: create documentlinear document update: update documentlinear document delete: delete document
document list flags
--project: filter by project--issue: filter by issue--json: output JSON--limit: limit results
document view flags
--raw: show raw content-w --web: open in web--json: output JSON
document create flags
-t --title: document title-c --content: content-f --content-file: content from file--project: project--issue: issue--icon: icon-i --interactive: interactive mode
document update flags
-t --title: new title-c --content: new content-f --content-file: content from file--icon: new icon-e --edit: open in editor
document delete flags
-y --yes: confirm deletion--bulk: bulk delete--bulk-file: bulk from file--bulk-stdin: bulk from stdin
completions
linear completions bash: generate bash completions (-n --name)linear completions fish: generate fish completions (-n --name)linear completions zsh: generate zsh completions (-n --name)
schema
linear schema: print GraphQL schema--json: output JSON-o --output: output file
config
linear config: interactively generate.linear.toml