Linux Or Windows using Gitbash or similar tool

Download the binary


Make it executable

chmod +x kubectl

Move to the Bin directory

sudo mv kubectl /usr/local/bin/

Verify that kubectl version 1.21.0 or higher is installed:

kubectl version --client


Client Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-dirty", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"dirty", BuildDate:"2021-03-15T10:03:32Z", GoVersion:"go1.16.2", Compiler:"gc", Platform:"darwin/amd64"}

Total Views 82 , and 2 views today

written by

Liked this article?

Stay updated with our latest articles, subscribe to our newsletter

You may also like

Darey Blogs


DevOps - Where to start?

Dare Olufunmilayo
  • 5 min watch
Darey Blogs

DevOps Career

Why A DevOps Career Is A Great Entry Point Into Tech

Dare Olufunmilayo
  • 5 min watch