Skip to content

Commit

Permalink
Merge pull request #3671 from mbergo/fix/docs-jenkin-x
Browse files Browse the repository at this point in the history
fix: linux installation instructions update
  • Loading branch information
jenkins-x-bot authored Aug 24, 2023
2 parents a558c3c + 71c2ec2 commit d2aa655
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions content/en/docs/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,14 @@ <h3>Using Curl</h3>
&nbsp;

{{<highlight sh>}}
# 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
Expand Down

0 comments on commit d2aa655

Please sign in to comment.