• Infers the package manager used by the global CLI.

    Parameters

    • argv: string[] = process.argv

      The arguments passed to the process.

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

    The package manager used by the global CLI.