To install crane-rs on your system, you can use the provided installation script. This will:
- Ensure the Rust toolchain is installed
- Clone or update the
crane-rsrepository to$HOME/crane-rs - Build the project in release mode
- Install the binary to
/usr/local/bin/crane-rs
curl -fsSL https://raw.githubusercontent.com/santoshxshrestha/crane-rs/main/scripts/install.sh | bash--dry-run: Show what would be done without making changes--repo=URL: Use a custom repository URL-h, --help: Show help message
Example:
curl -fsSL https://raw.githubusercontent.com/santoshxshrestha/crane-rs/main/scripts/install.sh | bash -s -- --dry-runTo remove crane-rs from your system, use the uninstall script. This will:
- Remove the binary from
/usr/local/bin/crane-rs - Delete the
$HOME/crane-rsrepository directory
curl -fsSL https://raw.githubusercontent.com/santoshxshrestha/crane-rs/main/scripts/uninstall.sh | bash--dry-run: Show what would be done without making changes-h, --help: Show help message
Example:
curl -fsSL https://raw.githubusercontent.com/santoshxshrestha/crane-rs/main/scripts/uninstall.sh | bash -s -- --dry-runFor more details, inspect the scripts directly or run with --help for usage information.