install

Installs packages with npm ci, honoring the lock file.

@npm install {
    force = true
    clean = true
    args = "--install-strategy hoisted"
}

Capabilities

CapabilityInfo
Cachelocal
Bachno

Argument Reference

The following arguments are supported:

  • force - (Optional) Adds --force to bypass failed checks.
  • clean - (Optional) Enable clean install; set true to enforce clean-install.
  • args - (Optional) Additional arguments passed to npm ci.
Last updated on