Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: linux installation instructions update #3671

Merged
merged 2 commits into from
Aug 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
tomhobson marked this conversation as resolved.
Show resolved Hide resolved

# Unarchive the package.
tar -zxvf jx-linux-amd64.tar.gz

# verify installation
jx version --short
Expand Down