XPM is a cross-platform CLI tool written in Go that unifies native package managers behind a single command.
It supports:
- apt (Debian / Ubuntu / Mint)
- dnf (Fedora / RHEL)
- pacman (Arch)
- brew (macOS)
- winget (Windows)
- choco (Windows)
Instead of remembering different commands for different systems:
apt install
dnf install
brew install
winget install
You can simply use:
xpm install
XPM automatically detects your OS and delegates to the correct backend.
- Cross-platform backend detection
- Clean error handling
- Normalized exit codes
- Global --verbose flag
- Backend override support
- Doctor command for diagnostics
git clone https://github.com/ManuPanghal-DEV/XPM.git
cd xpm
go build -o xpm ./cmd/xpm
sudo mv xpm /usr/local/bin/
Install a package:
xpm install curl
Remove a package:
xpm remove curl
Search for a package:
xpm search firefox
Verbose mode:
xpm install curl --verbose
- Smart package name normalization
- Preset environment installs
- Local repository support
- Lockfile support
- Ecosystem expansion
MIT License n