Installing pkgx
There are quite a few ways to install pkgx
but this is our recommendation:
Complete Installation Method Listing
Homebrew
cURL Installer
Our installer both installs and upgrades pkgx
:
Wanna read that script before you run it? github.com/pkgxdev/setup/installer.sh
Download Manually
pkgx
is a standalone binary, so you can just download it directly:
For your convenience we provide a .tgz
so you can one-liner that:
You can also download straight from GitHub Releases (you’ll likely need to unquarantine the downloaded binary).
Cargo
Docker
Or in your Dockerfile
:
GitHub Actions
pkgx
makes it easy to consistently use the GNU or BSD versions of core utilities across different platforms—handy for cross-platform CI/CD scripts. eg. pkgx +gnu.org/coreutils ls
Arch Linux
If you're on Arch Linux (or any of it's derivatives) you can also use the pkgx
AUR (latest released version) or pkgx-git
AUR (latest development version, might not be stable).
The AURs are community-maintained and might be out-of-date. Use them with caution.
Last updated