gcloud kubectl install
How to install kubectl with gcloud snippet for inclusion in each OS-specific tab.
You can install kubectl as part of the Google Cloud SDK.
-
Install the Google Cloud SDK.
-
Run the
kubectl
installation command:gcloud components install kubectl
-
Test to ensure the version you installed is up-to-date:
kubectl version --client
Last modified March 05, 2021 at 3:04 AM PST: Update install-kubectl.md to use tabs for the different Operating Systems (#26682) (87e3291aa)