<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.16 </button>

- [Latest version](https://docs.cloud.google.com/anthos/clusters/docs/on-prem/latest/how-to/download-gkeadm)
- [Version 1.16](https://docs.cloud.google.com/anthos/clusters/docs/on-prem/1.16/how-to/download-gkeadm.md.txt)
- [Earlier versions (unsupported)](https://docs.cloud.google.com/anthos/clusters/docs/on-prem/latest/version-history#expandable-1)

<br />

This document shows how to download the `gkeadm` command-line tool that
you use to create an admin workstation for Google Distributed Cloud.

Typically, `gkeadm` is the only component that you have to download manually.
In some cases, you might want to manually downolad one or more of these other
components:

- Admin workstation Open Virtual Appliance (OVA)
- Google Distributed Cloud bundle
- `gkectl` command-line tool

For more information, see [Downloads](https://docs.cloud.google.com/anthos/clusters/docs/on-prem/1.16/downloads.md.txt).

## Before you begin

You must be logged in with a
[Google Account](https://www.google.com/account/about/).

To see whether you are logged in, view your SDK `account`
[property](https://docs.cloud.google.com/sdk/docs/properties.md.txt):

```
gcloud config get-value account
```

To sign in:

```
gcloud auth login
```

## Download `gkeadm`

You use the `gkeadm` command-line tool to create an admin workstation. Then you
get an SSH connection to your admin workstation, and from there, you create
clusters.

The `gkeadm` command-line tool is available for 64-bit Linux.

`gkeadm` is also available for macOS 10.15 and higher, Windows 10, and Windows
Server 2019. However, support for macOS and Windows is deprecated and will be
removed in a future release.

### Linux

```
gcloud storage cp gs://gke-on-prem-release/gkeadm/VERSION/linux/gkeadm ./
chmod +x gkeadm
```

### Windows

```
gcloud storage cp gs://gke-on-prem-release/gkeadm/VERSION/windows/gkeadm.exe ./
```

> [!NOTE]
> **Note:** Support for Windows is deprecated and will be removed in a future release.

### macOS Catalina

```
gcloud storage cp gs://gke-on-prem-release/gkeadm/VERSION/darwin/gkeadm ./
chmod +x gkeadm
```

> [!NOTE]
> **Note:** Support for macOS is deprecated and will be removed in a future release.

Replace `VERSION` with the version of Google Distributed Cloud you
want to install or upgrade your clusters to. The latest available patch version
is 1.16.8-gke.19. For a list of available versions, see
[Version history](https://docs.cloud.google.com/anthos/clusters/docs/on-prem/1.16/version-history#supported-versions).

### Verify `gkeadm` using `openssl`

You can use `openssl` to verify the `gkeadm` binary against the public key.

```
gcloud storage cp gs://gke-on-prem-release/gkeadm/VERSION/linux/gkeadm.1.sig /tmp/gkeadm.1.sig
echo "---BEGIN PUBLIC KEY---
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
---END PUBLIC KEY---" > key.pem
openssl dgst -verify key.pem -signature /tmp/gkeadm.1.sig ./gkeadm
```

The expected output of this command is `Verified OK`.