Function install

  • Install cloudflared to the given path.

    Parameters

    • to: string

      The path to the binary to install.

    • version: string = CLOUDFLARED_VERSION

      The version of cloudflared to install.

    Returns Promise<string>

    The path to the binary that was installed.

""