mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-08-06 09:54:10 +00:00
Add install instructions for MacPorts users (#159)
This commit is contained in:
parent
62f3f27889
commit
a5e810b837
10
README.md
10
README.md
@ -85,7 +85,9 @@ Active namespace is "default".
|
|||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|
||||||
:confetti_ball: Use the [Homebrew](https://brew.sh/) package manager:
|
#### Homebrew
|
||||||
|
|
||||||
|
:confetti_ball: If you use [Homebrew](https://brew.sh/) you can install like this:
|
||||||
|
|
||||||
brew install kubectx
|
brew install kubectx
|
||||||
|
|
||||||
@ -94,6 +96,12 @@ This command will set up bash/zsh/fish completion scripts automatically.
|
|||||||
- If you like to add context/namespace info to your shell prompt (`$PS1`),
|
- If you like to add context/namespace info to your shell prompt (`$PS1`),
|
||||||
I recommend trying out [kube-ps1](https://github.com/jonmosco/kube-ps1).
|
I recommend trying out [kube-ps1](https://github.com/jonmosco/kube-ps1).
|
||||||
|
|
||||||
|
#### MacPorts
|
||||||
|
|
||||||
|
If you use [MacPorts](https://www.macports.org) you can install like this:
|
||||||
|
|
||||||
|
sudo port install kubectx
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
Since `kubectx`/`kubens` are written in Bash, you should be able to install
|
Since `kubectx`/`kubens` are written in Bash, you should be able to install
|
||||||
|
Loading…
Reference in New Issue
Block a user