Last active
May 21, 2025 12:27
-
-
Save bplasmeijer/a4845a4858f1c0b0a22848984475322d to your computer and use it in GitHub Desktop.
set-up K9S on #WSL2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
source <(curl -sSL benco.io/lib) # Load libary from remote URL, it's safe! | |
GITHUB="derailed/k9s" | |
VERSION=${1:-"$(get_latest_release $GITHUB)"} | |
INSTALL_DIR=${2:-"$HOME/.local/bin"} | |
CMD=k9s | |
NAME="k9s terminal UI for Kubernetes" | |
pre_run | |
curl -sSL "https://github.com/$GITHUB/releases/download/v${VERSION}/k9s_Linux_amd64.tar.gz" | \ | |
tar -zx -C "$INSTALL_DIR" $CMD | |
post_run version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To always install the latest k9s version or to update your existing k9s version on WSL