Skip to content

Publish to npm for devDependency installation #128

@ebeloded

Description

@ebeloded

Request

Would it be possible to publish linear-cli to npm (in addition to JSR/Homebrew) so it can be installed as a project devDependency?

Use case

I'm transitioning a Claude Code skill from custom GraphQL scripts to linear-cli. The skill lives inside a monorepo, and I'd like the CLI to be a dev dependency so that:

  1. All developers and CI get the same pinned version via bun install / npm install
  2. No need for each developer to brew install separately
  3. The binary is available via npx linear / bunx linear within the project

Current state

The JSR package (@schpet/linear-cli) can be installed via bunx jsr add -D @schpet/linear-cli, but it installs as a library export -- it doesn't expose a bin entry, so there's no CLI binary available after install.

Homebrew works great for individual use, but doesn't solve the "pin it in the repo" use case.

Suggestion

Publishing to npm with a proper bin field (e.g., "bin": { "linear": "./src/main.js" }) would allow:

npm install -D @schpet/linear-cli
npx linear issue view TEAM-123

Thanks for the great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions