Skip to content
Nx Cloud CI is in private beta 10.6× faster average CI time with 79% less compute. Join the beta

▸ detectPackageManager(dir?): PackageManager

Detects the package manager from the CLI override or directory lockfiles. Project directories in the current workspace can fall back to its root lockfile.

NameType
dir?string

PackageManager