Index Keywords

↶ Return

Installing kubectl on Ubuntu

Description

This article explains how to install kubectl on Ubuntu Linux.[1]

Steps

  1. To download the latest release of kubectl use the following command:
1
$ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
  1. To install kubectl run:
1
$ sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
  1. Verify installation:
1
$ kubectl version

Sources


  1. Kubernetes.io: Install Kubectl - Linux ↩︎