Crates.io | package-assistant |
lib.rs | package-assistant |
version | 0.10.0 |
source | src |
created_at | 2024-11-12 16:20:08.668662 |
updated_at | 2024-11-26 13:36:20.272898 |
description | Package Assistant helps you manage your package managers. |
homepage | https://github.com/patryk-s/package-assistant |
repository | https://github.com/patryk-s/package-assistant |
max_upload_size | |
id | 1445123 |
size | 47,920 |
Package Assistant provides a consistent CLI interface for all supported package managers, across multiple OSes,
so you don't have to remember the specific syntax on a given system. Additionally, it helps you manage several
package managers on a single system (for example, apt
and snap
on Ubuntu).
Configure which package managers you want to use and pick a main (default) package manager (run pa config
to choose).
You can then use pa
to run your usual package commands, for example:
pa search foo
pa info foo
pa install foo
If you want to run a command with all configured package managers, just add -a
:
pa search -a foo
pa update -a
pa upgrade -a
You can also run a command with a specific manager:
pa install -m snap foo
Run pa help
for the full usage:
Usage: pa [OPTIONS] <COMMAND>
Commands:
config Create or update configuration
info Show package details
install Install packages
list List installed packages
search Search for package
managers List available package managers
uninstall Uninstall packages
update Update package database
upgrade Upgrade installed packages
version Show package manager version
help Print this message or the help of the given subcommand(s)
Options:
-a, --all-managers Apply command to all configured package managers
-m, --manager <MANAGER> Run command with secified package manager
-h, --help Print help
-V, --version Print version
If you have rustc
and cargo
installed (if not, see rustup.rs)
you can build and install from crates.io, just run:
cargo install package-assistant
Or clone this repo, cd
into it, and run:
cargo install --path .