Skip to content
/ yu Public

Package manager wrapper for all unix-like systems

License

Notifications You must be signed in to change notification settings

Young-TW/yu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yu - a package manager wrapper for all unix-like systems

yu allows users to use the same command to install, uninstall, and upgrade packages on all unix-like systems.

CodeFactor

Installation

curl -sSL https://raw.githubusercontent.com/Young-TW/yu/main/script/install.sh | bash

Supported package managers

  • apt
  • dnf
  • pacman
  • yum
  • homebrew
  • zypper
  • portage
  • apk

Build from source manually

Build

Please make sure you have installed rust and cargo.

git clone https://github.com/Young-TW/yu.git
cd yu
cargo build --release

Install

cargo install --path .

please make sure the ~/.cargo/bin is in your PATH.

Usage

install package:

yu install <package>

uninstall package:

yu uninstall <package>

upgrade all packages:

yu

or

yu upgrade

package name is the same as the package name in the package manager of the system.

Flags

  • -h, --help: Show help message.
  • -v, --version: Show version.
  • -V, --verbose: Show verbose output.
  • -S, --silent: Show no output(only error output).