Install pkgx
packages to /usr/local
.
Caution
pkgm
is new software. Please report any issues you encounter and try it out
in parallel with your current package manager.
Warning
pkgm
is new software. Some features listed here are not yet implemented. You
can help! Or we’ll get to it soon.
$ pkgm install git
# ^^ installs latest git
$ pkgm install git@2.41
# ^^ installs git^2.41 or switches out the installed git to 2.41
$ pkgm uninstall git
$ pkgm list
# ^^ lists what is installed
$ pkgm outdated
# ^^ lists outdated installations
$ pkgm update
# ^^ updates installed packages to latest versions
$ pkgm pin git
# ^^ prevents the installed git from being updated
Note
Commands call sudo
as needed.
Tip
pkgm i
is an alias forpkgm install
pkgm rm
is an alias forpkgm uninstall
pkgm ls
is an alias forpkgm list
pkgm up
is an alias forpkgm update
brew install pkgxdev/made/pkgm || curl https://pkgx.sh | sh
brew rm pkgm || sudo rm /usr/local/bin/pkgm
- Packages are installed via
pkgx
to~/.pkgx
- We then
sudo
hard-link them to/usr/local/pkgs
- We then symlink the hard-links to
/usr/local
- Blazingly fast
- Install specific versions of any pkg
- You install by executable name—thus you don’t have to do a search first
- Installed packages are installed as
root