From 30eee13cb97cd78bf3f74b747c17a1ea814c544a Mon Sep 17 00:00:00 2001 From: Tu Nguyen Date: Thu, 11 May 2023 11:55:23 -0700 Subject: [PATCH] Update consul-k8s install command so it is valid (#17310) --- website/content/docs/k8s/installation/install-cli.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/content/docs/k8s/installation/install-cli.mdx b/website/content/docs/k8s/installation/install-cli.mdx index a628ede957..d9d613516c 100644 --- a/website/content/docs/k8s/installation/install-cli.mdx +++ b/website/content/docs/k8s/installation/install-cli.mdx @@ -128,20 +128,20 @@ Complete the following instructions to install a specific version of the CLI so 1. Download the appropriate version of Consul K8s CLI using the following `curl` command. Set the `$VERSION` environment variable to the appropriate version for your deployment. ```shell-session - $ export VERSION=1.0 && \ + $ export VERSION=1.1.1 && \ curl --location "https://releases.hashicorp.com/consul-k8s/${VERSION}/consul-k8s_${VERSION}_darwin_amd64.zip" --output consul-k8s-cli.zip ``` 1. Unzip the zip file output to extract the `consul-k8s` CLI binary. This overwrites existing files and also creates a `.consul-k8s` subdirectory in your `$HOME` folder. ```shell-session - $ unzip -o consul-k8s-cli.zip -d ~/.consul-k8s + $ unzip -o consul-k8s-cli.zip -d ~/consul-k8s ``` 1. Add the path to your directory. In order to persist the `$PATH` across sessions, dd it to your shellrc (i.e. shell run commands) file for the shell used by your terminal. ```shell-session - $ export PATH=$PATH:$HOME/.consul-k8s/ + $ export PATH=$PATH:$HOME/consul-k8s ``` 1. (Optional) Issue the `consul-k8s version` command to verify the installation.