diff --git a/docs/manuals/cli/overview.md b/docs/manuals/cli/overview.md index b59dca9f..957449e4 100644 --- a/docs/manuals/cli/overview.md +++ b/docs/manuals/cli/overview.md @@ -6,6 +6,12 @@ description: Install Crossplane, interact with the Upbound Marketplace and Manag Control Planes with the Upbound Up CLI. hide_title: true --- + +import Version from "@site/src/components/Version.js" +import { versions } from "@site/src/components/Version.js" +import CodeBlock from '@theme/CodeBlock'; + + # Overview @@ -33,12 +39,11 @@ curl -sL "https://cli.upbound.io" | sh :::note Install a specific version of `up` by providing the version. +For example, to install version use the following command: -For example, to install version `v0.42.0` use the following command: - -```shell -curl -sL "https://cli.upbound.io" | VERSION=v0.42.0 sh -``` + +{`curl -sL "https://cli.upbound.io" | VERSION=v${versions.cli} sh`} + Find the full list of versions in the Up command-line repository. ::: @@ -48,9 +53,9 @@ Find the full list of versions in the Upbound provides a Windows executable. -```shell -curl.exe -sLo up.exe "https://cli.upbound.io/stable/v0.42.0/bin/windows_amd64/up.exe" -``` + +{`curl.exe -sLo up.exe "https://cli.upbound.io/stable/v${versions.cli}/bin/windows_amd64/up.exe"`} + Find the full list of Windows versions in the [Up command-line repository][win-versions]. @@ -74,17 +79,18 @@ Upbound provides both `.deb` and `.rpm` packages for Linux platforms. Downloading packages requires both the [version][version] and CPU architecture (`linux_amd64`, `linux_arm`, `linux_arm64`). ### Debian package install -```shell -curl -sLo up.deb "https://cli.upbound.io/stable/v0.42.0/deb/linux_${ARCH}/up.deb" -``` -
+ + +{`curl -sLo up.deb "https://cli.upbound.io/stable/v${versions.cli}/deb/up_${versions.cli}_linux_\${ARCH}.deb"`} + ### RPM package install - -```shell -curl -sLo up.rpm "https://cli.upbound.io/stable/v0.42.0/rpm/linux_${ARCH}/up.rpm" -``` + + +{`curl -sLo up.rpm "https://cli.upbound.io/stable/v${versions.cli}/rpm/up_${versions.cli}_linux_\${ARCH}.rpm"`} + + @@ -109,16 +115,18 @@ brew install upbound/tap/docker-credential-up ### Debian package install -```shell -curl -sLo up.deb "https://cli.upbound.io/stable/v0.42.0/deb/linux_${ARCH}/docker-credential-up.deb" -``` + + +{`curl -sLo up.deb "https://cli.upbound.io/stable/v${versions.cli}/deb/docker-credential-up_${versions.cli}_linux_\${ARCH}.deb"`} + ### RPM package install -```shell -curl -sLo up.rpm "https://cli.upbound.io/stable/v0.42.0/rpm/linux_${ARCH}/docker-credential-up.rpm" -``` + +{`curl -sLo up.rpm "https://cli.upbound.io/stable/v${versions.cli}/rpm/docker-credential-up_${versions.cli}_linux_\${ARCH}.rpm"`} + + diff --git a/src/components/Version.js b/src/components/Version.js index 746aed77..d9fe0bd3 100644 --- a/src/components/Version.js +++ b/src/components/Version.js @@ -1,5 +1,5 @@ -const versions = { - cli: '0.39.1', +export const versions = { + cli: '0.44.3', spaces: '1.15.2', aws: '1.23.0', azure: '1.13.0',