Ensure that the latest version of gdcloud CLI and its components are
installed on your local workstation.

## Update components

You can update all gdcloud CLI components to the latest version:

```bash
gdcloud components update
```

The output lists all components the command is about to update, and asks for
confirmation before proceeding. By default, this command updates all
components to their latest version.

> [!NOTE]
> **Note:** Individual component updates are not supported.

## Upgrade gdcloud CLI installation

To check whether your gdcloud CLI installation is using the latest
available version, complete the following steps:

1. Check your current gdcloud CLI version:

   ```bash
   gdcloud version
   ```

   Note the version output.
2. Open the GDC console and, on the **Welcome** page, click
   **Download CLI Bundle**. Note the latest version available from the prompt.

   ![Check the CLI bundle version from the Download prompt.](https://docs.cloud.google.com/static/distributed-cloud/hosted/docs/latest/gdcag/resources/images/cli-bundle-version.png)
3. Compare your current version to the latest version available to download. If
   necessary, download the latest gdcloud CLI bundle and
   [reinstall](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-install.md.txt) it to upgrade to the
   latest available version.