All commands · internal

pm package install

Install package from local path, bundled alias, npm: source, wildcard, or GitHub source.

Installs pm packages from local paths, npm sources, GitHub sources, bundled aliases, or wildcard/all aliases.

Usage

pm package install [options] [targets...]

Arguments

<targets…>Package source (local path, bundled alias, npm: source, wildcard, or GitHub source)optional

Options

--dry-runResolve sources and estimate copying without destination writes or activationoptional
--gh <github-source>Install from GitHub shorthand source (owner/repo[/path])optional
--ref <ref>Git ref/branch/tag for GitHub install sourcesoptional
--projectUse project package scope (default)optional
--globalUse global package scopeoptional

Examples

pm package install ./my-package --project

Related commands