There are other Linear CLI tools, but this is the only one that wraps fzf
. If you like fzf
, this is the one for you.
- View issues sorted by modified date
- Open issue in browser
- Copy issue URL
- Copy branch name
https://github.com/user-attachments/assets/8eac928f-0bd2-47e0-8137-6838afd7c7fd
npm install -g linear-select-issue-cli
Note: fzf
must be installed. Install it with brew install fzf
.
- Create an API key at https://linear.app/current-ai/settings/account/security
- Set the
LINEAR_API_KEY
environment variable by adding the following to your.zshrc
file:
export LINEAR_API_KEY='<your-api-key>'
- Run the command
linear-cli
# OR
npx linear-select-issue-cli
- View Linear issues
- Select an issue and take an action:
- Copy the branch name to the clipboard
- Open the issue in the browser
- Copy the issue URL to the clipboard
npm run dev
- NPM package: https://www.npmjs.com/package/linear-select-issue-cli
- Repository: https://github.com/zsiegel92/linear_cli
- Created by Zach Siegel