导语:mac安装k9s报错k9s: undefined method `on_macos’
cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update
# 我这边提示让我执行这个 我就执行了。
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
brew update
brew install k9s
直接运行命令
k9s