rebi

Crates.iorebi
lib.rsrebi
version1.0.0
created_at2025-11-14 04:48:28.501667+00
updated_at2025-11-14 04:48:28.501667+00
descriptionRebi is a Rust CLI tool that allows you to easily manage pre-built binaries for any project.
homepage
repositoryhttps://github.com/rebe-rs/rebi
max_upload_size
id1932265
size38,515
Q0tzly (Q0tzly)

documentation

README

Rebi

Rebi is a Rust CLI tool that allows you to easily manage pre-built binaries for any project.

Features

  • 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

Install

git clone https://github.com/rebe-rs/rebi
cd rebi && sh install.sh

After installation, ensure $HOME/.local/bin is in your PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

You can now run:

rebi

Usage

rebi 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 message

Uninstall

rm ~/.local/bin/rebi
rm -rf ~/.rebi
rm -rf ~/.config/rebi
Commit count: 0

cargo fmt