mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-09-20 02:52:50 +00:00
Update README.md
This commit is contained in:
19
README.md
19
README.md
@@ -77,19 +77,22 @@ Active namespace is "default".
|
|||||||
|
|
||||||
:tada: kubectx is now in Homebrew! :confetti_ball:
|
:tada: kubectx is now in Homebrew! :confetti_ball:
|
||||||
|
|
||||||
> Use the [Homebrew](https://brew.sh/) package manager:
|
Use the [Homebrew](https://brew.sh/) package manager:
|
||||||
>
|
|
||||||
> 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
|
brew install kubectx
|
||||||
`kctx` and `kns` to prevent prefix collision with `kubectl` name.
|
|
||||||
|
|
||||||
> Note: If you installed kubectx before it was accepted to Homebrew core
|
This command will set up bash/zsh completion scripts automatically.
|
||||||
|
|
||||||
|
> **Note:** 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:
|
> repository, reinstall with:
|
||||||
> `brew untap ahmetb/kubectx && brew uninstall --force kubectx && brew update && brew install kubectx`
|
> `brew untap ahmetb/kubectx && brew uninstall --force kubectx && brew update && brew install kubectx`
|
||||||
|
|
||||||
|
> **Note:** If you like to add context/namespace info to your shell prompt (`$PS1`),
|
||||||
|
> try out [kube-ps1](https://github.com/jonmosco/kube-ps1).
|
||||||
|
|
||||||
**Other platforms:**
|
**Other platforms:**
|
||||||
|
|
||||||
Since `kubectx`/`kubens` are written in Bash, they can run in shells that support POSIX standards.
|
Since `kubectx`/`kubens` are written in Bash, they can run in shells that support POSIX standards.
|
||||||
|
Reference in New Issue
Block a user