File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,13 +34,6 @@ $ pkgm update
3434
3535$ pkgm pin git
3636# ^^ prevents the installed git from being updated
37-
38- $ pkgm install git@2.43 --pin
39- # installs and pins git^2.43
40-
41- $ pkgm stub git
42- # uninstalls git and installs stubs into bin instead
43- # see docs below for more info
4437```
4538
4639> [ !NOTE]
@@ -57,13 +50,13 @@ $ pkgm stub git
5750## Installation
5851
5952``` sh
60- sh <( curl https://pkgx.sh)
53+ brew install pkgxdev/made/pkgm || curl https://pkgx.sh | sh
6154```
6255
6356## Uninstallation
6457
6558``` sh
66- sudo rm /usr/local/bin/ pkgm /usr/local/bin/pkgx
59+ brew rm pkgm || sudo rm /usr/local/bin/pkgm
6760```
6861
6962# Intricacies
@@ -78,12 +71,3 @@ sudo rm /usr/local/bin/pkgm /usr/local/bin/pkgx
7871- Install specific versions of any pkg
7972- You install by executable name—thus you _ don’t have to do a search first_
8073- Installed packages are installed as ` root `
81-
82- # ` pkgm stub `
83-
84- For larger packages or packages with large dependency trees, installing packages
85- pollutes your system with hundreds of files. To avoid this, you can install a
86- stub instead.
87-
88- Stubs are tiny shell scripts that invoke the tool via ` pkgx ` instead. Generally
89- this works well. Sometimes it does not however hence it just an option.
You can’t perform that action at this time.
0 commit comments