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-run | Resolve sources and estimate copying without destination writes or activation | optional |
|---|---|---|
| --gh <github-source> | Install from GitHub shorthand source (owner/repo[/path]) | optional |
| --ref <ref> | Git ref/branch/tag for GitHub install sources | optional |
| --project | Use project package scope (default) | optional |
| --global | Use global package scope | optional |
Examples
pm package install ./my-package --project