https://github.com/tonybenoy/ray
Pacman like wrapper for winget
https://github.com/tonybenoy/ray
arch pacman windows winget winget-cli
Last synced: 6 months ago
JSON representation
Pacman like wrapper for winget
- Host: GitHub
- URL: https://github.com/tonybenoy/ray
- Owner: tonybenoy
- License: mit
- Created: 2024-11-19T00:24:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T13:01:23.000Z (about 1 year ago)
- Last Synced: 2025-02-11T14:56:17.181Z (11 months ago)
- Topics: arch, pacman, windows, winget, winget-cli
- Language: Rust
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ray
Ray is a command-line tool that maps common `pacman` commands to `winget` commands, allowing you to use familiar `pacman` syntax on Windows.
## Features
- Map `pacman` commands to `winget` commands
- Supports various `pacman` commands like `-Syu`, `-Syyu`, `-Sy`, `-S`, `-Ss`, `-R`, `-Rns`, `-Q`, `-Qi`, `-Si`, `-Qs`
## Installation
### Build from Source
To build and install Ray, you need to have Rust installed. You can install Rust from [rust-lang.org](https://www.rust-lang.org/).
1. Clone the repository:
```sh
git clone https://github.com/tonybenoy/ray.git
cd ray
```
2. Build the project:
```sh
cargo build --release
```
3. The executable will be located in the `target/release` directory.
### Install from github releases
Download the latest release from the [releases page](https://github.com/tonybenoy/ray/releases/latest) and add the executable to your PATH.
## Usage
Run the `ray` executable with the desired `pacman` command:
```sh
ray [options] [package]
```
Add ray to your PATH to use it from anywhere.
## Supported Commands
- `-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`.