upkg (1.1.0)
Published 2026-09-29 22:14:44 +03:00 by Denaerium
Installation
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add upkg@1.1.0 --registry forgejoAbout this package
No-nonsense simplistic package manager wrapper focusing on extendability and ease of use.
upkg
A universal package manager wrapper written in Rust that provides a consistent interface across different package managers (Paru, APT, Scoop, Homebrew). upkg focuses on extendability and ease of use by abstracting platform-specific package manager commands.
Features
- Unified Interface: Use the same commands across different package managers
- Multiple Provider Support: Works with Paru, APT, Scoop, and Homebrew
- Auto-detection: Automatically detects and uses available package managers
- Shell Completions: Built-in support for shell auto-completion
Installation
cargo install --path .
Usage
Basic Commands
# Install packages
upkg install <package-name>
upkg i <package-name>
# Remove packages
upkg remove <package-name>
upkg r <package-name>
# Search for packages
upkg search <query>
upkg s <query>
# Upgrade packages
upkg upgrade
upkg u
# List installed packages
upkg list
upkg l
# Clean package cache
upkg clean
Configuration
# Set the active package manager provider
upkg config set provider <paru|apt|scoop|brew>
# Reset configuration to defaults
upkg config reset all
Provider Management
# List available providers
upkg providers list
# List only installed providers
upkg providers list --installed
License
MIT
Building from Source
Requires rust and cargo.
git clone https://git.denaerium.com/Denaerium/upkg/
cd upkg
cargo build --release
Dependencies
| ID | Version |
|---|---|
| anyhow | ^1.0.100 |
| atty | ^0.2.14 |
| clap | ^4.5.51 |
| clap_complete | ^4.5.60 |
| colored | ^3.0.0 |
| confy | ^2.0.0 |
| libc | ^0.2.177 |
| serde | ^1.0.228 |
| which | ^8.0.0 |