install
Install project or global dependencies from package.json or named packages, with options for dry-run previews, devDependency saving, and exact versions.
Instructions
Install packages in a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the package directory | |
| dryRun | No | Preview install without making changes | |
| global | No | Install globally | |
| saveDev | No | Save as devDependency | |
| packages | No | Package names to install (empty = install all from package.json) | |
| saveExact | No | Save exact version instead of semver range | |
| allowScripts | No | Explicitly reviewed packages allowed to run install scripts during a global install (npm 12+). For project installs use approve-scripts instead. |