@shopify/cli-kit
    Preparing search index...

    Function packageManagerFromUserAgent

    • Returns the dependency manager used to run the create workflow.

      Parameters

      • env: ProcessEnv = process.env

        The environment variables of the process in which the CLI runs.

      Returns "yarn" | "npm" | "pnpm" | "bun" | "unknown"

      The dependency manager