yu allows users to use the same command to install, uninstall, and upgrade packages on all unix-like systems.
-
apt -
dnf -
pacman -
yum -
homebrew -
zypper -
portage -
apk
-
flatpak -
snap -
nix -
guix
-
conda(Anaconda)-
pixi(Pixi)
-
-
spack(Scientific computing)
-
cargo(Rust) -
npm(Node.js)-
pnpm(Node.js)
-
-
pip(Python)-
pipx(Python) -
uv(Python)
-
-
conan(C/C++) -
vcpkg(C/C++)
If you have cargo installed, you can install yu using the following command:
cargo install yu-pkgPlease make sure you have installed rust and cargo.
git clone https://github.com/Young-TW/yu.git
cd yu
cargo build --releasecargo install --path .please make sure the ~/.cargo/bin is in your PATH.
Another way to install yu is just copy the yu script to your system.
sudo cp target/release/yu /usr/local/bin/yuinstall package:
yu install <package>uninstall package:
yu uninstall <package>reinstall package:
yu reinstall <package>update package list:
yu updateupgrade all packages:
yuor
yu upgradepackage name is the same as the package name in the package manager of the system.
auto remove unused packages:
yu autoremovesearch package:
yu search <package>-h,--help: Show help message.-V,--version: Show version.-v,--verbose: Show verbose output.-s,--silent: Show no output(only error output).