Rebi is a Rust CLI tool that allows you to easily manage pre-built binaries for any project.
- Build and manage multiple versions of Rust projects or any executable binaries
- Only one version is active at a time, but you can run any version temporarily using
runone - Lightweight, fast, and easy-to-use CLI
- Automatically manages symlinks in
$HOME/.local/bin
git clone https://github.com/rebe-rs/rebi
cd rebi && sh install.shAfter installation, ensure $HOME/.local/bin is in your PATH:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrcYou can now run:
rebirebi init # Initialize Rebi
rebi build ./my_project # Build a project
rebi build-use ./my_project # Build and activate a project
rebi use mytool@0.1.0 # Activate a specific version
rebi unuse mytool # Deactivate the currently active version
rebi try mytool@0.1.0 -- arg1 arg2 # Run a version once without activating
rebi list # List all available versions
rebi lock mytool@0.1.0 # Lock a version to prevent removal or rebuild
rebi unlock mytool@0.1.0 # Unlock a version for normal operations
rebi rm-bin mytool@0.1.0 # Remove a specific version
rebi rm-bins # Remove all removable binaries
rebi delete-rebe-all # Delete everything under ~/.rebi
rebi version # Show Rebi version
rebi help # Show this help messagerm ~/.local/bin/rebi
rm -rf ~/.rebi
rm -rf ~/.config/rebi