From d36b6677d6667c6393573774f82ab59b10bebb20 Mon Sep 17 00:00:00 2001 From: Marcus Bergo Date: Fri, 11 Nov 2022 14:02:06 -0300 Subject: [PATCH] fix: linux installation instructions update This fixes the current way of install Jenkins X on Linux, working with Fedora 37 and ZSH Signed-off-by: Marcus Bergo --- content/en/docs/_index.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/content/en/docs/_index.html b/content/en/docs/_index.html index 498be3e686d..9efdb744b24 100644 --- a/content/en/docs/_index.html +++ b/content/en/docs/_index.html @@ -171,11 +171,14 @@

Using Curl

  {{}} -# Download the `.tar` file, and unarchive it in a directory where you can run the `jx` command. -curl -L "https://github.com/jenkins-x/jx/releases/download/$(curl --silent "https://github.com/jenkins-x/jx/releases/latest" | sed 's#.*tag/\(.*\)\".*#\1#')/jx-linux-amd64.tar.gz" | tar xzv "jx" +# Download the `.tar` file, and unarchive it in ``a directory where you can run the `jx` command. +curl -LO https://github.com/jenkins-x/jx/releases/download/latest/jx-linux-amd64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/latest/jx-linux-amd64.tar.gz.sig -# Move binary to your path -sudo mv jx /usr/local/bin +# Verify the integrity of the d +cosign verify-blob --key https://raw.githubusercontent.com/jenkins-x/jx/main/jx.pub --signature jx-linux-amd64.tar.gz.sig jx-linux-amd64.tar.gz + +# Unarchive the package. +tar -zxvf jx-linux-amd64.tar.gz # verify installation jx version --short