Skip to main content

Command reference

All commands inherit these root flags:

FlagDescription
--api-key <key>Linear API key; highest authentication precedence
--prettyPretty-print the JSON envelope
--helpShow Cobra help

linear-cli version returns build metadata: version, commit, and date.

Command groupOperations
authlogin, whoami
configset, get, list
teamlist, get
userlist, get, me
issuelist, get, create, update, search
commentlist, create
labellist, create
statuslist, get
projectlist, get, create, update
cyclelist, get
doclist, get, search
attachmentupload

Cobra also provides completion and help; they are framework commands rather than Linear resource operations.