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

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

Arguments

PACKAGE

Optional argument

list

List installed packages

pm list [OPTIONS]

Options

-v, --verbosity <LVL>

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

--all

Include packages not referenced by the local project

remove

Remove 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 remove <PackageName> “1.0.0” “2.0.0”

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

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

pm remove [OPTIONS] PACKAGE [VERSIONS]...

Options

-v, --verbosity <LVL>

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

-y, --yes

Automatically confirm the removal of the package(s)

Arguments

PACKAGE

Required argument

VERSIONS

Optional argument(s)