pkg
A simple cross-platform package manager.
Installation
You can build it from source using Go:
sh
go install git.macco.dev/pkg-mngr/pkg@latestor download a prebuilt binary in Releases.
Usage
USAGE: pkg [add | update | remove | info | search | list] [--init]
COMMANDS:
add Install packages
update Update packages
remove Remove packages
info Get the info for a package
search Search for packages
list List installed packages
OPTIONS:
--init Initialise pkg
-h, --help Display this help and exit.Initialise pkg with:
sh
pkg --initYou can install packages by running:
sh
pkg add go # or any other packageYou can update installed packages with:
sh
pkg updateYou can also remove installed packages with:
sh
pkg remove goYou can fetch the info for a package with:
sh
pkg info goYou can list installed packages with:
sh
pkg listYou can search for packages with:
sh
pkg search pkgYou can view the help by using -h or --help:
sh
pkg -h
pkg --help