Version 1.6. This version is no longer supported as outlined in the Anthos version support policy. For the latest patches and updates for security vulnerabilities, exposures, and issues impacting Anthos clusters on VMware (GKE on-prem), upgrade to a supported version. You can find the most recent version here.

Installing Google Cloud CLI

Stay organized with collections Save and categorize content based on your preferences.

This document shows how to install Google Cloud CLI before you install Anthos clusters on VMware (GKE on-prem).

To install Anthos clusters on VMware, you need certain tools that are in gcloud CLI. Use the following steps to install the tooling, including upgrading your existing gcloud CLI installation.

To install gcloud CLI and related tooling:

  1. Install gcloud CLI:

    • Install gcloud CLI but skip the gcloud init command.

    • If you already have a version installed, run the following command to list what components and versions you have:

      gcloud components list

      If you have the latest available version and both the anthos-auth and kubectl components are Installed, you can stop here.

  2. Retrieve the latest components and versions:

    1. Run the following command to update gcloud CLI:

      gcloud components update
    2. To install the anthos-auth and kubectl components, run the following commands:

      gcloud components install kubectl
      gcloud components install anthos-auth

What's next

Create a Cloud project (quickstart).

Create Google Cloud projects (full instructions).