From fd91e53d1f7df0fbae7fb47fda7f0054d608fcd3 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Thu, 29 Jun 2017 14:12:46 -0700 Subject: [PATCH] :tada: kubectx is now in homebrew-core :confetti_ball: Signed-off-by: Ahmet Alp Balkan --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6d1196e..bb1992f 100644 --- a/README.md +++ b/README.md @@ -73,19 +73,27 @@ Active namespace is "default". **For macOS:** -> Use [Homebrew](https://brew.sh/) package manager: +:tada: kubectx is now in Homebrew! :confetti_ball: + +> Use the [Homebrew](https://brew.sh/) package manager: +> +> brew install kubectx > -> brew tap ahmetb/kubectx https://github.com/ahmetb/kubectx.git -> brew install kubectx > this will also set up bash/zsh completion scripts automatically. Running `brew install` with `--with-short-names` will install tools with names `kctx` and `kns` to prevent prefix collision with `kubectl` name. +> Note: If you installed kubectx before it was accepted to Homebrew core +> repository, reinstall with: +> `brew untap ahmetb/kubectx && brew uninstall --force kubectx && brew update && brew install kubectx` + **Other platforms:** -> Download the `kubectx` script, make it executable and add it to your PATH. You -> can also install bash/zsh [completion scripts](completion/) manually. +- Download the `kubectx` script +- Add it somewhere in your PATH +- Make it executable (`chmod +x`) +- You can also install bash/zsh [completion scripts](completion/) manually. -----