/bvm

(Blazingly Fast) Bun Version Manager build using Rust and inspired by NVM. Install and use different versions of Bun via the command line

Primary LanguageRust

(Blazingly Fast) Bun Version Manager

Bun Version Manager build using Rust that allows you to quickly install and use different versions of Bun via the command line. Since this is just a side project I did in order to learn Rust, it was specifically tailored and tested for systems running on macosx86_64 architecture. This means it is currently optimized for Mac systems with x86_64 architecture only.

Installation

Step 1:

git clone git@github.com:chrisdadev13/bvm.git && cd bvm 

Step 2:

cargo install && cargo build
cp ./target/debug/bvm /usr/local/bin

Done!

bvm --help

Usage

To install an specific version of Bun:

bvm install v1.0.21

To list available versions of Bun, you can use:

bvm ls-remote

To list installed versions of Bun, use:

bvm ls

And finally to switch from a version to another use:

bvm use v1.0.20

Uninstall command is not ready yet :3 Feel free to contribute