Run bash scripts from GitHub repositories.
# From source
git clone https://github.com/DeepanshuMishraa/bashx
cd bashx
cargo build --release
# Install globally
cargo install bashx
# Add to PATH (if not already configured)
export PATH="$HOME/.cargo/bin:$PATH"# Download scripts from a repo
bashx get https://github.com/username/scripts
# List available scripts
bashx list
# Run a script (prompts for confirmation)
bashx run backup
# Clean cache
bashx cleanClones a GitHub repository to ~/.bashx/cache/
Shows all .sh files in your cache
Finds and executes a script by name (without .sh extension)
- Prompts for security confirmation
- Sets executable permissions
- Runs in script's directory
Removes all cached scripts
MIT