From 021c1bc736b9dc2e010dfcc736a5bab96a144d41 Mon Sep 17 00:00:00 2001 From: Nikolas Grottendieck Date: Fri, 24 Feb 2023 18:14:12 +0100 Subject: [PATCH] Windows installation instructions (winget) (#365) (#381) --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7f9e97e..428f17b 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ this new Go implementation by downloading the binaries from the [**Releases page - [with apt (Debian)](#apt-debian) - [with pacman (Arch Linux)](#pacman-arch-linux) - [with Chocolatey (Windows)](#windows-installation-using-chocolatey) +- [with winget (Windows)](#windows-installation-using-winget) - [manually (macOS & Linux)](#manual-installation-macos-and-linux) If you like to add context/namespace information to your shell prompt (`$PS1`), @@ -148,6 +149,14 @@ Available as packages on [Chocolatey](https://chocolatey.org/why-chocolatey) choco install kubens kubectx ``` +### Windows Installation (using winget) + +Available as packages on [winget](https://learn.microsoft.com/en-us/windows/package-manager/) +```pwsh +winget install --id ahmetb.kubectx +winget install --id ahmetb.kubens +``` + ### Manual Installation (macOS and Linux) Since `kubectx` and `kubens` are written in Bash, you should be able to install