Todos los comandos · internal
pm extension install
Install extension from local path, bundled alias, npm: source, wildcard, or GitHub source.
Installs a compatibility runtime extension from local, npm, GitHub, bundled alias, or wildcard sources.
Uso
pm extension install [options] [targets...]Argumentos
| <targets…> | Extension 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 extension scope (default) | opcional |
| --global | Use global extension scope | opcional |
Ejemplos
pm package install ./my-extension --project