pkg

command module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2025 License: 0BSD Imports: 9 Imported by: 0

README

pkg

A simple cross-platform package manager.

Installation

You can build it from source using Go:

go install github.com/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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ci/bump command
ci/pr command
cmd
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL