Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsr add command should be able to install packages globally with -g or --global CLI flag #46

Open
arafathusayn opened this issue Mar 6, 2024 · 0 comments · May be fixed by #53
Open
Assignees
Labels
enhancement New feature or request

Comments

@arafathusayn
Copy link

What is the issue?

Currently these commands fail:

  • npx jsr add -g <pkg>
  • bunx jsr add -g <pkg>
  • jsr add -g <pkg>

Why do we need it?

Some CLI "bin" packages need to be used installed globally. jsr CLI program itself should be installed globally via -g or --global flag.

Similar issue for deno add -g posted here: jsr-io/jsr#213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants