Windows

How to Install Kubectl on Windows 11

Screenshot-2022-04-02-at-22.17.10

Kubernetes is an open-source system for automating containerized application deployment, scaling, and management. You can run commands against Kubernetes clusters using the kubectl command-line tool. kubectl can be used to deploy applications, inspect and manage cluster resources, and inspect logs. kubectl can be installed on a variety of Linux platforms, as well as macOS and Windows. The choice of choosing your preferred operating system is depending on your needs. Read about VMware is acquiring Kubernetes security start-up Octarine, How to use System Information, MSINFO32 command-line tool switches, and Command Prompt – How to use the PsInfo utility

Note: kubectl is Kubernetes' command line interface (CLI) used to run commands against any Kubernetes cluster.

Installing Kubectl

To get started, use this link to download the .exe file of Kubectl for windows. Then, in C drive, create a new folder, name it ‘kube’ or whatever you want

Create-Kube-Folder-1

Copy kubectl.exe inside, as shown in the image.

Copy-of-Kubectl

Setting path:

The next thing is to set the path. To do this, go to Advance System settings > Environment Variables

Advanced-System-Settings1

Edit the path by adding “C:\kube”

Browse-Path12

Now open the command prompt and run kubectl

Kubectl-Installed1
Kubectl Installed

Congratulations Kubectl has been successfully installed on your Windows 11 machine.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x