Ray is a command-line tool that maps common pacman commands to winget commands, allowing you to use familiar pacman syntax on Windows.
- Map
pacmancommands towingetcommands - Supports various
pacmancommands like-Syu,-Syyu,-Sy,-S,-Ss,-R,-Rns,-Q,-Qi,-Si,-Qs
To build and install Ray, you need to have Rust installed. You can install Rust from rust-lang.org.
-
Clone the repository:
git clone https://github.com/tonybenoy/ray.git cd ray -
Build the project:
cargo build --release
-
The executable will be located in the
target/releasedirectory.
Download the latest release from the releases page and add the executable to your PATH.
Run the ray executable with the desired pacman command:
ray [options] [package]Add ray to your PATH to use it from anywhere.
-Syu,-Syyu: Update all packages-Sy: Update package database-S: Install package(s)-Ss: Search for packages-R,-Rns: Remove package(s)-Q: List installed packages-Qi: Show package information-Si: Show package information-Qs: Search for installed packages
All other winget commands can be used as well by simple passing the command as an argument to ray.