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 clean
Clones 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