Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Deployments & Workflows
  3. Concepts
  4. Deployments Settings
  5. Skipping Automatic Dependency Installation

Skipping Automatic Dependency Installation

    By default, the deployment executor will attempt to install dependencies for your project by using the default dependency manager for the language (i.e. npm for nodejs or virtualenv for python). However, there may be scenarios where you may want to have more control over the dependency installation step (e.g. you are using yarn and/or a different version of node than the one that is installed by default).

    To do this, turn on Skip package manager dependency installation under Advanced settings on the stack’s Settings → Deploy page, and then install dependencies yourself with a few pre-run commands and environment variables.

    This setting is separate from dependency caching. Skipping installation means the project’s package manager doesn’t run at all, while caching only makes the installation step faster when it does run.

      The infrastructure as code platform for any cloud.