Skip to content

rebe-rs/rebi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published