Skip to content

Commit dc90ab3

Browse files
committed
docs: update with correct download URL
1 parent 46fdd33 commit dc90ab3

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,40 @@ This data can be analyzed locally or shared with Cockroach Labs support for trou
2121

2222
### Download Pre-Built Binary
2323

24-
Download the latest release for your platform from the [**Releases Page**](https://github.com/cockroachlabs/workload-exporter/releases), or use the commands below (replace `VERSION` with the desired release tag, e.g. `v1.7.1`):
24+
Download the latest release for your platform from the [**Releases Page**](https://github.com/cockroachlabs/workload-exporter/releases), or use the commands below.
25+
26+
Set the version variable first, then run the command for your platform:
27+
28+
```bash
29+
VERSION=v1.7.1 # replace with the desired release tag
30+
```
2531

2632
#### macOS (Apple Silicon)
2733
```bash
28-
curl -L https://github.com/cockroachlabs/workload-exporter/releases/download/VERSION/workload-exporter-VERSION-darwin-arm64.tar.gz | tar xz
29-
mv workload-exporter-VERSION-darwin-arm64 workload-exporter
34+
curl -L "https://github.com/cockroachlabs/workload-exporter/releases/download/${VERSION}/workload-exporter-${VERSION}-darwin-arm64.tar.gz" | tar xz
35+
mv "workload-exporter-${VERSION}-darwin-arm64" workload-exporter
3036
```
3137

3238
#### macOS (Intel)
3339
```bash
34-
curl -L https://github.com/cockroachlabs/workload-exporter/releases/download/VERSION/workload-exporter-VERSION-darwin-amd64.tar.gz | tar xz
35-
mv workload-exporter-VERSION-darwin-amd64 workload-exporter
40+
curl -L "https://github.com/cockroachlabs/workload-exporter/releases/download/${VERSION}/workload-exporter-${VERSION}-darwin-amd64.tar.gz" | tar xz
41+
mv "workload-exporter-${VERSION}-darwin-amd64" workload-exporter
3642
```
3743

3844
#### Linux (amd64)
3945
```bash
40-
curl -L https://github.com/cockroachlabs/workload-exporter/releases/download/VERSION/workload-exporter-VERSION-linux-amd64.tar.gz | tar xz
41-
mv workload-exporter-VERSION-linux-amd64 workload-exporter
46+
curl -L "https://github.com/cockroachlabs/workload-exporter/releases/download/${VERSION}/workload-exporter-${VERSION}-linux-amd64.tar.gz" | tar xz
47+
mv "workload-exporter-${VERSION}-linux-amd64" workload-exporter
4248
```
4349

4450
#### Linux (arm64)
4551
```bash
46-
curl -L https://github.com/cockroachlabs/workload-exporter/releases/download/VERSION/workload-exporter-VERSION-linux-arm64.tar.gz | tar xz
47-
mv workload-exporter-VERSION-linux-arm64 workload-exporter
52+
curl -L "https://github.com/cockroachlabs/workload-exporter/releases/download/${VERSION}/workload-exporter-${VERSION}-linux-arm64.tar.gz" | tar xz
53+
mv "workload-exporter-${VERSION}-linux-arm64" workload-exporter
4854
```
4955

5056
#### Windows
51-
Download `workload-exporter-VERSION-windows-amd64.zip` from the [releases page](https://github.com/cockroachlabs/workload-exporter/releases) and extract it.
57+
Download `workload-exporter-${VERSION}-windows-amd64.zip` from the [releases page](https://github.com/cockroachlabs/workload-exporter/releases) and extract it.
5258

5359
### Verify Installation
5460

0 commit comments

Comments
 (0)