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

spike: npx pepr -- how do we update the version? #546

Open
btlghrants opened this issue Feb 2, 2024 · 0 comments
Open

spike: npx pepr -- how do we update the version? #546

btlghrants opened this issue Feb 2, 2024 · 0 comments

Comments

@btlghrants
Copy link
Collaborator

Personal experience -- and Issues like #530 -- have shown that the way NPX deals with versions of installed binaries tends to surprise people:

  • npx pepr installs the most recent version available
  • npx pepr@version will install the requested (potentially newer) version
  • npx pepr --version (i.e no version tag) will show that npx still uses the older, origninally installed version.

Our answer (i.e. #530) is to instruct people to clear their machine's .npm cache (i.e. where npx installs things), but... maybe there's a better way?

It would be nice if there was a command that users could run (sort of like npx pepr update) that would install & relink a newer npx pepr-able version.

@schaeferka schaeferka self-assigned this Feb 23, 2024
@btlghrants btlghrants changed the title npx pepr -- how do we update the version? spike: npx pepr -- how do we update the version? Feb 26, 2024
@schaeferka schaeferka removed their assignment Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Questions
Development

No branches or pull requests

2 participants