Skip to content

Instantly share code, notes, and snippets.

@bplasmeijer
Last active May 3, 2024 19:16
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save bplasmeijer/a4845a4858f1c0b0a22848984475322d to your computer and use it in GitHub Desktop.
Save bplasmeijer/a4845a4858f1c0b0a22848984475322d to your computer and use it in GitHub Desktop.
set-up K9S on #WSL2
cd ~
curl -L https://github.com/derailed/k9s/releases/download/v0.21.4/k9s_Linux_x86_64.tar.gz -o k9s
tar -xf k9s
chmod +x k9s
mv ./k9s /usr/local/bin/k9s
k9s
@dschulman-repay
Copy link

I prefer to use something along the lines of

curl -s -L https://github.com/derailed/k9s/releases/download/v0.24.10/k9s_v0.24.10_Linux_x86_64.tar.gz -o k9s && tar -xvf k9s && chmod 755 k9s && rm LICENSE && mv README.md ~/Docs/k9s_README.md && sudo chown root: k9s && sudo mv k9s /usr/local/bin

@rsignell-usgs
Copy link

rsignell-usgs commented Mar 24, 2022

Just updated to current version (as of 10/27/2023) and throwing away the readme also:

curl -s -L https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_amd64.tar.gz -o k9s && tar -xvf k9s && chmod 755 k9s && rm LICENSE README.md  && sudo mv k9s /usr/local/bin

@coarsehorse
Copy link

Should be sudo mv ./k9s /usr/local/bin/k9s instead of mv ./k9s /usr/local/bin/k9s

@coarsehorse
Copy link

And also check the latest release here: https://github.com/derailed/k9s/releases

@Pl8tinium
Copy link

ty for the gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment