Skip to content

Commit e9d1cf8

Browse files
authored
Merge pull request #907 from jbw976/v2-cli
v2: use XP_CHANNEL=preview for CLI install
2 parents 1a1f216 + a7187c7 commit e9d1cf8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

content/v2.0-preview/cli/_index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@ The Crossplane CLI includes:
1717
The Crossplane CLI is a single standalone binary with no external dependencies.
1818

1919
{{<hint "note" >}}
20-
Install the Crossplane CLI on a user's computer.
20+
Install the Crossplane CLI on a user's computer.
2121

22-
Most Crossplane CLI commands are independent of Kubernetes and
22+
Most Crossplane CLI commands are independent of Kubernetes and
2323
don't require access to a Crossplane pod.
24-
{{< /hint >}}
24+
{{< /hint >}}
2525

2626
To download the latest version for your CPU architecture with the Crossplane
2727
install script.
2828

2929
```shell
30-
curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | sh
30+
curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | XP_CHANNEL=preview sh
3131
```
3232

3333
[The script](https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh)
3434
detects your CPU architecture and downloads the latest stable release.
3535

3636
{{<expand "Manually install the Crossplane CLI" >}}
3737

38-
If you don't want to run shell script you can manually download a binary from
39-
the Crossplane releases repository at
38+
If you don't want to run shell script you can manually download a binary from
39+
the Crossplane releases repository at
4040
https://releases.crossplane.io/stable/current/bin
4141

4242
{{<hint "important" >}}
4343
<!-- vale write-good.Passive = NO -->
44-
The CLI is named `crank` in the release repository. Download this file.
44+
The CLI is named `crank` in the release repository. Download this file.
4545
<!-- vale write-good.Passive = YES -->
4646

4747
The `crossplane` binary is the Kubernetes Crossplane pod image.
@@ -53,12 +53,12 @@ Move the binary to a location in your `$PATH`, for example `/usr/local/bin`.
5353
### Download other CLI versions
5454

5555
Download different Crossplane CLI versions or different release branches with
56-
the `XP_CHANNEL` and `XP_VERSION` environmental variables.
56+
the `XP_CHANNEL` and `XP_VERSION` environmental variables.
5757

58-
By default the CLI installs from the `XP_CHANNEL` named `stable` and the
58+
By default the CLI installs from the `XP_CHANNEL` named `stable` and the
5959
`XP_VERSION` of `current`, matching the most recent stable release.
6060

61-
For example, to install CLI version `v1.14.0` add `XP_VERSION=v1.14.0` to the
62-
download script curl command:
61+
For example, to install CLI version `v1.14.0` add `XP_VERSION=v1.14.0` to the
62+
download script curl command:
6363

6464
`curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | XP_VERSION=v1.14.0 sh`

0 commit comments

Comments
 (0)