From 3ec08920137b705384f878247242cb226f508448 Mon Sep 17 00:00:00 2001 From: Sylvain Faivre Date: Wed, 19 Jul 2023 14:50:35 +0200 Subject: [PATCH] Add manual installation instructions for latest Go releases to README.md --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b9e29b..349d86b 100644 --- a/README.md +++ b/README.md @@ -158,8 +158,25 @@ winget install --id ahmetb.kubens ### Manual Installation (macOS and Linux) -Since `kubectx` and `kubens` are written in Bash, you should be able to install -them to any POSIX environment that has Bash installed. +#### Latest Go version + +To install the latest Go version, first download the binaries from the +[**Releases page →**](https://github.com/ahmetb/kubectx/releases) + +Be sure to download both `kubectx` and `kubens` releases for your OS and CPU +architecture. + +Extract the binaries somewhere in your `PATH`, like `/usr/local/bin` + +If you want autocompletion for your shell, you will have to clone the git +repository, or at least download the files from the completion folder, as +they are not included in the binary releases. You can then follow the steps +below to setup autocompletion. + +#### Bash (old) version + +Since `kubectx` and `kubens` older versions are written in Bash, you should be +able to install them to any POSIX environment that has Bash installed. - Download the `kubectx`, and `kubens` scripts. - Either: