kube-shell icon indicating copy to clipboard operation
kube-shell copied to clipboard

kube-shell command not found on mac/zsh

Open prateekgogia opened this issue 8 years ago • 2 comments

I am using zsh and Sierra, installed kube-shell using pip - pip install kube-shell

It installed fine and gave me this log at the end -

Successfully installed Pygments-2.2.0 click-6.7 fuzzyfinder-2.1.0 httplib2-0.10.3 kube-shell-0.0.23 kubernetes-2.0.0 oauth2client-4.1.2 prompt-toolkit-1.0.15 wcwidth-0.1.7

After this kube-shell command is not found -

pgogia@VSN00243 ~  kube-shell
zsh: command not found: kube-shell

Running this on macOS Sierra and zsh (5.4.2). What step am I missing?

prateekgogia avatar Feb 12 '18 19:02 prateekgogia

sudo find / -name kube-shell
export PATH=xxxxxx

batizhao avatar Mar 09 '18 02:03 batizhao

sudo find / -name kube-shell kube-shell path is not in zsh, you just find the path and export path to .zshrc file vi .zshrc, add export code , save the file export PATH="$PATH:xxxxx"

make sure it is effective immediately , just last run source .zshrc

DasyDong avatar May 14 '18 03:05 DasyDong