oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.2k stars 2.77k forks source link

anything like nvm.sh for bun? #2943

Open ralyodio opened 1 year ago

ralyodio commented 1 year ago

What is the problem this feature would solve?

I want to install different versions of bun locally (dev and production) like I can with nvm.sh.

What is the feature you are proposing to solve the problem?

I have multiple apps running on one server and its quite reasonable to assume they may need different versions installed. It's also good for open source being able to say "we support version X and above". So we need a way to test it.

What alternatives have you considered?

none

TommasoAmici commented 1 year ago

You could use the asdf-bun plugin. I've used it with rtx and it works fine

ralyodio commented 1 year ago

i used asdf and it installed bun but the command isn't found when i type: bun at the shell.

tomByrer commented 1 year ago

@ralyodio You should list your OS in your 1st post.

ralyodio commented 1 year ago

manjaro

tomByrer commented 1 year ago

manjaro

Edit your "first post" so when the bug fixer & other visitors reviews your issue, they don't have to dig for that important info. & usually a version is helpful. Try to run in a shell.

grep -E '^(VERSION|NAME)=' /etc/os-release