NPM Installer

Install npm packages with elide install.

elide install --ecosystems=npm
Installing an npm dependency and running a project with Elide

npm is opt-in; a bare elide install installs Maven only. Elide reads package.json and the npm block in elide.pkl:

amends "elide:project.pkl"

dependencies {
  npm {
    packages {
      "react@19.0.0"
    }
    devPackages {
      "typescript@5.6.2"
    }
  }
}
PropertyMeaning
packagesname@version or @scope/name@version.
devPackagesDevelopment-time packages.

Packages go to .dev/dependencies/npm/node_modules, linked from node_modules at the project root. Resolution is recorded in aube-lock.yaml. Ecosystem selection and shared options: Dependencies.