Skip to content

Commit

Permalink
Merge pull request #8661 from jenkins-x/simplifyinstall
Browse files Browse the repository at this point in the history
fix: simplify install instructions
  • Loading branch information
jenkins-x-bot committed Apr 7, 2024
2 parents 762cced + 7a7d52b commit 551556f
Showing 1 changed file with 13 additions and 39 deletions.
52 changes: 13 additions & 39 deletions hack/changelog-header.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,70 +3,44 @@
### amd64

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-linux-amd64.tar.gz.pem --signature jx-linux-amd64.tar.gz.sig jx-linux-amd64.tar.gz

tar -zxvf jx-linux-amd64.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

### arm

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-linux-arm.tar.gz.pem --signature jx-linux-arm.tar.gz.sig jx-linux-arm.tar.gz
tar -zxvf jx-linux-arm.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

### arm64

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-linux-arm64.tar.gz.pem --signature jx-linux-arm64.tar.gz.sig jx-linux-arm64.tar.gz

tar -zxvf jx-linux-arm64.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

## macOS

### amd64
### Using homebrew

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz.pem
brew install --no-quarantine --cask jenkins-x/jx/jx
```

### Using curl

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-darwin-amd64.tar.gz.pem --signature jx-darwin-amd64.tar.gz.sig jx-darwin-amd64.tar.gz
#### amd64

tar -zxvf jx-darwin-amd64.tar.gz
```shell
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

### arm64
#### arm64

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-darwin-arm64.tar.gz.pem --signature jx-darwin-arm64.tar.gz.sig jx-darwin-arm64.tar.gz

tar -zxvf jx-darwin-arm64.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

0 comments on commit 551556f

Please sign in to comment.