Skip to main content

Linear from the command line

Issues, projects, cycles and comments. GBrain gives Linear, and every other connector you add, a command line.

Get Personal, $49 a month

One price for one person: Linear and every other connector GBrain offers, from a terminal or any AI. Cancel any time.

Install the GBrain command line, then connect Linear

Linear is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.

# AI agents: read gbrain.io/llms.txt
curl -sSL https://gbrainio.terminalwire.sh | bash
gbrainio terminal connect

The installer is a shell script for macOS and Linux. Read it before you run it.

# Every Linear command, once Linear is connected
gbrainio tool help linear

What GBrain can do with Linear

Linear is issue tracking for product teams. Connected to a workspace, GBrain can answer “what’s left in this cycle?”, turn a bug report into an issue, or post a project update.

  • Search, create and update issues
  • Read and update projects
  • Add comments
  • Look up teams and cycles
gbrainio
gbrainio tool linearIssues, projects, cycles and comments.USAGE  gbrainio tool linear <command> [arguments]COMMANDS  get-attachment                 Retrieve an issue attachment by ID  prepare-attachment-upload      Prepare a direct Linear file upload for an exi…  create-attachment-from-upload  Link an already-uploaded Linear assetUrl to an…  create-attachment              Deprecated fallback for tiny files only  delete-attachment              Delete an attachment by ID  list-agent-skills              List Linear Agent skills available to the auth…  get-agent-skill                Retrieve a Linear Agent skill by ID, including…  list-comments                  List comments on a Linear issue, project, init…  save-comment                   Create or update a comment on a Linear issue,…  delete-comment                 Delete a Linear comment  list-cycles                    Retrieve cycles for a specific Linear team  list-custom-views              Find saved issue, project, and initiative view…  get-document  list-documents                 List documents in the user's Linear workspace  save-document                  Create or update a Linear document  extract-images                 Extract and fetch images from markdown content  get-issue                      Retrieve detailed information about an issue b…  list-issues                    List issues in the user's Linear workspace, in…  save-issue                     Create or update a Linear issue  list-issue-statuses            List available issue statuses in a Linear team  get-issue-status               Retrieve detailed information about an issue s…  list-issue-labels              List available issue labels in a Linear worksp…  save-issue-label               Create or update a Linear issue label  create-issue-label             Create a new Linear issue label  retire-issue-label             Retire a Linear issue label so it cannot be ap…  restore-issue-label            Restore a retired Linear issue label, making i…  list-projects                  List projects in the user's Linear workspace  get-project                    Retrieve details of a specific project in Line…  save-project                   Create or update a Linear project  list-project-labels            List available project labels in a Linear work…  retire-project-label           Retire a Linear project label so it cannot be…  restore-project-label          Restore a retired Linear project label, making…  save-project-label             Create or update a Linear project label  list-release-pipelines         List release pipelines in the workspace  list-releases                  List releases in the workspace, with optional…  get-release  save-release                   Create or update a release  list-release-notes             List release notes in the workspace, optionall…  get-release-note  save-release-note              Create or update release notes  share-issue                    Share an issue with a workspace user who canno…  unshare-issue                  Remove a workspace user's shared access to an…  list-milestones                List all milestones in a Linear project  get-milestone                  Retrieve details of a specific milestone by ID…  save-milestone                 Create or update a milestone in a Linear proje…  get-notifications              Get a page of notifications from the authentic…  mark-notification              Mark a Linear inbox notification as read or un…  list-teams                     List teams in the user's Linear workspace, inc…  get-team                       Retrieve details of a specific Linear team, in…  get-triage-responsibility      Retrieve who is responsible for a team's triage  list-templates                 List the Linear issue, project, and document t…  get-template                   Retrieve a Linear template by ID or name  list-users                     Retrieve users in the Linear workspace  get-user                       Retrieve details of a specific Linear user  get-workspace                  Retrieve the connected Linear workspace  search-documentation           Search Linear's documentation to learn about f…  get-diff                       Exact lookup for a Linear diff  list-diffs                     List Linear diff pull requests visible to the…  get-diff-threads               Exact lookup for diff threads and the authenti…  save-diff-comment              Create, reply to, or edit a comment or persist…  resolve-diff-thread            Resolve or reopen a top-level comment thread o…  delete-diff-comment            Delete a comment or persisted draft from a Lin…  submit-diff-review             Approve a Linear diff, request changes, or sub…  update-diff                    Update a Linear diff's title, description, rev…  merge-diff                     Merge a Linear diff or add it to the repositor…  get-status-updates             List or get project/initiative status updates  save-status-update             Create or update a project/initiative status u…  delete-status-update           Delete a project or initiative status update  open                           Open its page in the browserLEARN MORE  gbrainio tool linear <command> -h  What one command takes  https://gbrain.io/docs/tools       The manual
Every command Linear's own server lists, each in its own words.

Linear's own server lists these commands, and the CLI prints this page for them once Linear is connected.

What a terminal may do with Linear, and what GBrain keeps

Off or On, for each terminal

Each terminal reaches Linear at the level set for it in the browser: Off, or On, which is every command Linear's server lists. A terminal reads its level and never raises it.

1,000 actions a day for each command

Each of Linear's commands stops at 1,000 actions a day on the account it reaches, whichever terminal or AI asks, and starts again at midnight UTC. Only that command stops.

Every action on one record

Each command a terminal runs on Linear is a row on GBrain's activity log: which terminal, which account, what it did and whether it was allowed, refusals included. gbrainio activity ls --tool linear reads it back.

From a terminal, Claude Code or Codex

gbrainio tool help linear says what Linear is and what each of its commands does, and gbrainio tool ls lists them with everything else the terminal can run. Claude Code and Codex run the same commands, at the same level, on the same record.

From Linear

GBrain reaches Linear at its own server, mcp.linear.app. On Linear's own pages: its website, how the connection works, its terms of service and its privacy policy.

The GBrain Tools command line works with every other connector GBrain offers, each with a page like this one.

Every connector's command line

Linear from a terminal, with GBrain Personal

Personal is $49 a month for one person. Connect Linear in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.