mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-09-20 11:01:18 +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:
|
||||
|
||||
> Use the [Homebrew](https://brew.sh/) package manager:
|
||||
>
|
||||
> brew install kubectx
|
||||
>
|
||||
> this will also set up bash/zsh completion scripts automatically.
|
||||
Use the [Homebrew](https://brew.sh/) package manager:
|
||||
|
||||
Running `brew install` with `--with-short-names` will install tools with names
|
||||
`kctx` and `kns` to prevent prefix collision with `kubectl` name.
|
||||
brew install kubectx
|
||||
|
||||
> 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:
|
||||
> `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:**
|
||||
|
||||
Since `kubectx`/`kubens` are written in Bash, they can run in shells that support POSIX standards.
|
||||
|
Reference in New Issue
Block a user