Alle Befehle · 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.
Aufruf
pm extension install [options] [targets...]Argumente
| <targets…> | Extension source (local path, bundled alias, npm: source, wildcard, or GitHub source) | optional |
|---|
Optionen
| --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 extension scope (default) | optional |
| --global | Use global extension scope | optional |
Beispiele
pm package install ./my-extension --project