### Basic `pkgm` Usage Examples Source: https://github.com/pkgxdev/pkgm/blob/main/README.md Illustrates various `pkgm` commands including `install`, `uninstall`, `shim`, `list`, `outdated`, and `update`, demonstrating both user-local (`~/.local`) and system-wide (`/usr/local`) installations. ```sh $ pkgm install node # ^^ installs latest node to ~/.local. ie. you get ~/.local/bin/node $ pkgm install node@20.1 # ^^ installs node^20.1 or switches out the installed node to 20.1 $ pkgm uninstall node $ sudo pkgm install node # ^^ installs node to /usr/local. ie. you get /usr/local/bin/node $ pkgm shim node # ^^ creates a shim for node at ~/.local/bin/node # see the docs below for details about shims $ pkgm list # ^^ lists what’s installed $ pkgm outdated # ^^ lists outdated installations $ pkgm update # ^^ updates ~/.local packages to latest versions $ sudo pkgm update # ^^ updates /usr/local packages to latest versions ``` -------------------------------- ### `pkgm` Installation Command Source: https://github.com/pkgxdev/pkgm/blob/main/README.md Provides the command to install `pkgm` using either Homebrew or a direct curl script. Users can choose the method that best suits their environment. ```sh brew install pkgxdev/made/pkgm || curl https://pkgx.sh | sh ``` -------------------------------- ### `pkgm` Uninstallation Command Source: https://github.com/pkgxdev/pkgm/blob/main/README.md Provides the command to uninstall `pkgm`, either via Homebrew or by directly removing the binary from `/usr/local/bin`. ```sh brew rm pkgm || sudo rm /usr/local/bin/pkgm ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.