LinuxCommandLibrary

upt

Universal cross-platform package manager wrapper

TLDR

Install package

$ upt install [package]
copy
Remove package
$ upt remove [package]
copy
Update packages
$ upt upgrade
copy
Search package
$ upt search [query]
copy
List installed
$ upt list
copy
Show info
$ upt info [package]
copy

SYNOPSIS

upt command [options] [package]

DESCRIPTION

upt (Universal Package Tool) provides a single, consistent command-line interface that wraps the native package manager on any system. It automatically detects which package manager is available and translates upt commands into the appropriate native commands for apt, pacman, brew, and others.
This allows users and scripts to use the same commands across different Linux distributions and macOS without needing to remember the syntax differences between package managers. Commands like install, remove, search, and upgrade work identically regardless of the underlying system.
The tool delegates all actual package operations to the native package manager, so it does not introduce any compatibility layers or alternative package formats. Root privileges may be required depending on the underlying package manager's requirements.

PARAMETERS

install

Install package.
remove
Remove package.
upgrade
Update all.
search
Find packages.
list
Show installed.
info
Package details.

CAVEATS

Wrapper tool. Underlying PM varies. May need sudo.

HISTORY

upt (Universal Package Tool) provides a unified interface to various system package managers.

SEE ALSO

apt(1), pacman(1), brew(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community