A simple cross-platform package manager
https://pkg.macco.dev
|
|
||
|---|---|---|
| .github | ||
| internal | ||
| packages | ||
| web | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| package.schema.json | ||
| README.md | ||
pkg
A simple cross-platform package manager.
Installation
You can build it from source using Go:
go install git.macco.dev/pkg-mngr/pkg@latest
or 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:
pkg --init
You can install packages by running:
pkg add go # or any other package
You can update installed packages with:
pkg update
You can also remove installed packages with:
pkg remove go
You can fetch the info for a package with:
pkg info go
You can list installed packages with:
pkg list
You can search for packages with:
pkg search pkg
You can view the help by using -h or --help:
pkg -h
pkg --help