@@ -17,31 +17,31 @@ The Crossplane CLI includes:
17
17
The Crossplane CLI is a single standalone binary with no external dependencies.
18
18
19
19
{{<hint "note" >}}
20
- Install the Crossplane CLI on a user's computer.
20
+ Install the Crossplane CLI on a user's computer.
21
21
22
- Most Crossplane CLI commands are independent of Kubernetes and
22
+ Most Crossplane CLI commands are independent of Kubernetes and
23
23
don't require access to a Crossplane pod.
24
- {{< /hint >}}
24
+ {{< /hint >}}
25
25
26
26
To download the latest version for your CPU architecture with the Crossplane
27
27
install script.
28
28
29
29
``` 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
31
31
```
32
32
33
33
[ The script] ( https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh )
34
34
detects your CPU architecture and downloads the latest stable release.
35
35
36
36
{{<expand "Manually install the Crossplane CLI" >}}
37
37
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
40
40
https://releases.crossplane.io/stable/current/bin
41
41
42
42
{{<hint "important" >}}
43
43
<!-- 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.
45
45
<!-- vale write-good.Passive = YES -->
46
46
47
47
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`.
53
53
### Download other CLI versions
54
54
55
55
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.
57
57
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
59
59
` XP_VERSION ` of ` current ` , matching the most recent stable release.
60
60
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:
63
63
64
64
` curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | XP_VERSION=v1.14.0 sh `
0 commit comments