Let's face it: we've all waited way too long for npm install to finish. Whether you're racing against a deadline or just impatient (like me), slow ...
For further actions, you may consider blocking this person and/or reporting abuse
I am use npm. But I do not install npm directly, I am using nvm that handel multiple version of npm. It's so simple to handel multiple project those are build using different version of node without docker container. Now my question is if I have multiple project those are use different version of node then can I handel it with bun?
nvm
doesn't makenpm
any faster (it's just differentnpm
environments) but it is certainly very useful!When I used
npm
I usednvm
too.I don't think there is a Bun equivalent (to be clear:
nvm
is not bynpm
and does not come with it; it's a third-party thing), though you can globally installbun
withnpm
and use different versions ofbun
that you have installed in your differentnpms
. (Obviously that's pretty annoying to deal with).I have seen this, but have not tried it yet:
owenizedd / bum
Bum - Bun Version Manager β‘
Bum - Bun Version Manager
Introducing Bum, a fast Bun version manager written in Rust from scratch
How to install:
Unix
Windows
I only own a Mac, so I can't test at all if Windows is working, and I can't write a script to auto-install on Windows as well. So here are a few instructions on how to install Bum for Windows:
As Bum is not tested at all on Windows, it may not works. If it's the case please open an issue and I'll be glad to fix it.
How to use:
Perhaps I'll make my own solution for this.
I am π
my choice is volt.sh
an awesome tool for node management
In my experience, NVM works great. Can volt manage Bun versions?
i dont use npm just plain JS :)
i barely even code :P
'Vanilla JS'. I do that every so oftenβ¦
At my old company, we used to have Front-End meetups and one person broke down the install time differences and I've been convinced since then. But I have yet to try it out. π€¦πΏββοΈ I think you have finally pushed me to give it a go. ππΏ
Yay! :D
You'll love it :)
Thank you for sharing, I've been there too