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 [email protected]
# ^^ installs git^2.41 or switches out the installed git to 2.41
$ pkgm uninstall git
$ pkgm local-install git
# ^^ installs git to ~/.local. ie. you get ~/.local/bin/git
# `pkgm li git` is easier to type and remember
$ pkgm shim git
# ^^ creates a shim for git in ~/.local/bin
# these shims mimic the pkgx v1 lazy-loading shims, and are desirable for
# certain types of self-healing and dev-setup containers, among other things
# requires pkgx^2.4.0 for --shebang option
$ 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 updatedNote
Commands call sudo as needed.
Tip
pkgm iis an alias forpkgm installpkgm rmis an alias forpkgm uninstallpkgm lsis an alias forpkgm listpkgm upis an alias forpkgm update
brew install pkgxdev/made/pkgm || curl https://pkgx.sh | shbrew rm pkgm || sudo rm /usr/local/bin/pkgm- Packages are installed via
pkgxto~/.pkgx - We then
sudohard-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