pm

Package management tools

pm [OPTIONS] COMMAND [ARGS]...

compile

Compile a package

pm compile [OPTIONS] [NAME]

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--version <VERSION>

The dependency version

-f, --force

Force a re-compile

--config-override <"KEY": "VAL">

Config override mappings

Arguments

NAME

Optional argument

install

Download and cache packages

pm install [OPTIONS] [PACKAGE]

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--name <NAME>

The name of the dependency

--version <VERSION>

The dependency’s version

--ref <REF>

A reference flag, used for GitHub branches or tags instead of version

-f, --force

Force a re-install

--config-override <"KEY": "VAL">

Config override mappings

Arguments

PACKAGE

Optional argument

list

List installed packages

pm list [OPTIONS]

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--all

List all installed dependencies

uninstall

Uninstall a package

This command removes a package from the installed packages.

If specific versions are provided, only those versions of the package will be removed. If no versions are provided, the command will prompt you to choose versions to remove. You can also choose to remove all versions of the package.

Examples:

  • Remove specific versions: ape pm uninstall <PackageName> “1.0.0” “2.0.0”

  • Prompt to choose versions: ape pm uninstall <PackageName>

  • Remove all versions: ape pm uninstall <PackageName> -y

pm uninstall [OPTIONS] [NAME] [VERSIONS]...

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

-y, --yes

Automatically confirm the removal of the package(s)

Arguments

NAME

Optional argument

VERSIONS

Optional argument(s)