A simple cross-platform package manager https://pkg.macco.dev
Find a file
2025-12-18 19:49:03 -05:00
.github ci: autobump labels 2025-12-17 15:42:02 -05:00
internal chore: migrate to git.macco.dev/pgk-mngr/pkg 2025-12-18 19:45:30 -05:00
packages Merge branch 'main' of https://git.macco.dev/pkg-mngr/pkg 2025-12-18 19:49:03 -05:00
web chore: migrate to git.macco.dev/pgk-mngr/pkg 2025-12-18 19:45:30 -05:00
.gitignore chore: Manually copy packages/ directory into web/ 2025-08-11 16:34:36 +01:00
go.mod chore: migrate to git.macco.dev/pgk-mngr/pkg 2025-12-18 19:45:30 -05:00
go.sum build(deps): bump github.com/noclaps/applause from 0.3.10 to 0.3.11 2025-10-15 06:24:45 +00:00
LICENSE Initial commit 2025-08-11 16:27:46 +01:00
main.go chore: migrate to git.macco.dev/pgk-mngr/pkg 2025-12-18 19:45:30 -05:00
package.schema.json all: Clean up and reorganise code (#41) 2025-08-24 14:05:54 +01:00
README.md chore: migrate to git.macco.dev/pgk-mngr/pkg 2025-12-18 19:45:30 -05:00

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