Todos los comandos · 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.
Uso
pm package install [options] [targets...]Argumentos
| <targets…> | Package source (local path, bundled alias, npm: source, wildcard, or GitHub source) | opcional |
|---|
Opciones
| --dry-run | Resolve sources and estimate copying without destination writes or activation | opcional |
|---|---|---|
| --gh <github-source> | Install from GitHub shorthand source (owner/repo[/path]) | opcional |
| --ref <ref> | Git ref/branch/tag for GitHub install sources | opcional |
| --project | Use project package scope (default) | opcional |
| --global | Use global package scope | opcional |
Ejemplos
pm package install ./my-package --project