Add install instructions for MacPorts users (#159)

This commit is contained in:
Nils Breunese 2019-07-15 19:29:52 +02:00 committed by Ahmet Alp Balkan
parent 62f3f27889
commit a5e810b837

View File

@ -85,7 +85,9 @@ Active namespace is "default".
### 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
@ -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`),
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
Since `kubectx`/`kubens` are written in Bash, you should be able to install