关于
用 Rust 编写的 Bun 版本管理器 ⚡
开发工具可以做什么
- bum default <version>
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Bum - Bun Version Manager
Introducing Bum, a fast Bun version manager written in Rust from scratch.

How to install:
Via npm/npx (Easier)
The easiest way to use Bum is via npm.
Note: When installing via npm,
~/.bun/binis not automatically added to your PATH. Add this line to your shell config (~/.bashrc,~/.zshrc, etc.) before installing so you can runbundirectly after activation:export PATH="$HOME/.bun/bin:$PATH"
# Use without installation
npx @owenizedd/bum use 1.0.3
# Or install globally
npm install -g @owenizedd/bum
bum use 1.0.3
Via Script (Faster performance)
If npm/npx doesn't work or you prefer native CLI experience, you can fallback to Rust binary:
- Open your terminal and execute:
curl -fsSL https://github.com/owenizedd/bum/raw/main/install.sh | bash
This installation will install bun for you and also bum altogether.
How to use:
- You can just run
bumwithout any parameter to see default help menu.
Commands
bum use <version>- Change the current active bun version, e.g.
bum use 1.0.3. This will automatically use v1.0.3. - If there's no target version is installed in the local, it will install that version then use it.
- Else, it will just use that version directly as the active version.
- Change the current active bun version, e.g.
bum remove <version>- Remove the installed version locally.
This feature will only remove local copy, but if you're using the removed version, you will still be able to use that version, but once you change to other version, you will not be able to change to that version anymore.
- In the future we will automatically switch to the latest version available upon removal of the version.
- Remove the installed version locally.
bum list- Show all local installed versions of Bun.
bum list-remote- Show all remote versions of Bun that could be installed.
.bumrc file
- When file exists, everytime you use
bum usecommand without<version>argument, Bum will try to use the version from the .bumrc file.
- When file exists, everytime you use
Future features (possibly)
bum default <version>
Contributing
We welcome contributions! Please see our Contributing Guide for details on:
- Development setup
- Running tests
- Code style guidelines
- Pull request process
For maintainers releasing new versions, see the Release Guide.
Questions or Issues?
- 💬 Have questions? Open a Discussion
- 🐛 Found a bug? Open an Issue
- 💡 Have ideas? We'd love to hear them!
License
MIT
探索相关项目
加载中…