mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-08-11 20:21:40 +00:00
🎉 kubectx is now in homebrew-core 🎊
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
b06fcaf054
commit
fd91e53d1f
18
README.md
18
README.md
@ -73,19 +73,27 @@ Active namespace is "default".
|
|||||||
|
|
||||||
**For macOS:**
|
**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.
|
> this will also set up bash/zsh completion scripts automatically.
|
||||||
|
|
||||||
Running `brew install` with `--with-short-names` will install tools with names
|
Running `brew install` with `--with-short-names` will install tools with names
|
||||||
`kctx` and `kns` to prevent prefix collision with `kubectl` name.
|
`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:**
|
**Other platforms:**
|
||||||
|
|
||||||
> Download the `kubectx` script, make it executable and add it to your PATH. You
|
- Download the `kubectx` script
|
||||||
> can also install bash/zsh [completion scripts](completion/) manually.
|
- Add it somewhere in your PATH
|
||||||
|
- Make it executable (`chmod +x`)
|
||||||
|
- You can also install bash/zsh [completion scripts](completion/) manually.
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user