Skip to main content

install

Install a dependency, check existing dependencies, or fix dependency issues.

Anchor to dependency
dependency
string

The dependency to install (e.g., react@^18.0.0).

Anchor to --check
--check
boolean

Check that installed dependencies are valid.

Anchor to --fix
--fix
boolean

Fix dependency issues by adding, updating, or removing dependencies.

Anchor to --json
--json
boolean

Output dependency check results as JSON (only with --check).


Was this page helpful?