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

    Function cliInstallCommand

    • Utility function for generating an install command for the user to run to install an updated version of Shopify CLI.

      Parameters

      • version: string

        The version or dist-tag to install. Homebrew can't install a specific version, so it always upgrades to the formula's current version.

      Returns string | undefined

      A string with the command to run, or undefined if the package manager cannot be determined.