Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Add ESC CLI version shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
cnunciato committed Oct 10, 2023
1 parent b91c4a8 commit 114b902
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
36 changes: 18 additions & 18 deletions themes/default/content/docs/install/esc.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ $ brew install pulumi/tap/esc

### MacOS binary download

<a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v0.5.1-darwin-x64.tar.gz">amd64</a>
<a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v0.5.1-darwin-arm64.tar.gz">arm64</a></p>
<a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v{{< latest-version-esc >}}-darwin-x64.tar.gz">amd64</a>
<a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v{{< latest-version-esc >}}-darwin-arm64.tar.gz">arm64</a></p>

macOS Sierra (10.12) or later is required.

The latest version of Pulumi ESC is 0.5.1.
The latest version of Pulumi ESC is {{< latest-version-esc >}}.

{{% notes type="info" %}}
For a streamlined Pulumi ESC walkthrough, including language runtime installation and cloud configuration, see the [Get Started](/docs/pulumi-cloud/esc/getting-started) guides.
Expand Down Expand Up @@ -106,7 +106,7 @@ $ brew install esc
Alternatively, you can run our installation script.

```bash
$ curl -fsSL https://get.pulumi.com/esc/install.sh | sh
$ curl -fsSL https://get.pulumi.com/esc | sh
```

This will install the `esc` CLI to `~/.pulumi/bin` and add it to your path. When it can't automatically add `esc` to your path, you will be prompted to add it manually.
Expand All @@ -132,7 +132,7 @@ The installer script can be rerun to subsequently install new updates.
If you do not wish to use the previous options, you can install Pulumi manually.

<!-- markdownlint-disable url -->
1. Download [Pulumi ESC 0.5.1 for macOS](https://get.pulumi.com/esc/releases/esc-v0.5.1-darwin-x64.tar.gz).
1. Download [Pulumi ESC {{< latest-version-esc >}} for macOS](https://get.pulumi.com/esc/releases/esc-v{{< latest-version-esc >}}-darwin-x64.tar.gz).
<!-- markdownlint-enable url -->

1. Extract the tarball and move the binaries in the `esc` directory to a directory included in your system's `$PATH`.
Expand All @@ -149,17 +149,17 @@ If you do not wish to use the previous options, you can install Pulumi manually.
<h3 class="no-anchor pt-4"><i class="fas fa-box pr-2"></i>Install Script</h3>

```bash
$ curl -fsSL https://get.pulumi.com/esc/install.sh | sh
$ curl -fsSL https://get.pulumi.com/esc | sh
```

</div>
<div class="w-full">
<h3 class="no-anchor pt-4"><i class="fas fa-download pr-2"></i>Linux Binary Download</h3>
<p><a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v0.5.1-linux-x64.tar.gz">amd64</a></p>
<p><a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v{{< latest-version-esc >}}-linux-x64.tar.gz">amd64</a></p>
</div>
</div>

The latest version of Pulumi ESC is 0.5.1.
The latest version of Pulumi ESC is {{< latest-version-esc >}}.

{{< get-started-note >}}

Expand All @@ -181,7 +181,7 @@ In addition, there are many ways to install Pulumi ESC:
To install, run our installation script:

```bash
$ curl -fsSL https://get.pulumi.com/esc/install.sh | sh
$ curl -fsSL https://get.pulumi.com/esc | sh
```

This will install the `esc` CLI to `~/.pulumi/bin` and add it to your path. When it can't automatically add `esc` to your path, you will be prompted to add it manually.
Expand All @@ -205,7 +205,7 @@ See [How to permanently set $PATH on Unix](https://stackoverflow.com/questions/1
Alternatively, you can install Pulumi ESC manually. We provide a prebuilt binary for Linux.

<!-- markdownlint-disable url -->
1. Download [Pulumi ESC 0.5.1 for Linux x64](https://get.pulumi.com/esc/releases/esc-v0.5.1-linux-x64.tar.gz).
1. Download [Pulumi ESC {{< latest-version-esc >}} for Linux x64](https://get.pulumi.com/esc/releases/esc-v{{< latest-version-esc >}}-linux-x64.tar.gz).
<!-- markdownlint-enable url -->

1. Extract the tarball and move the binaries in the `esc` directory to a directory included in your system's `$PATH`.
Expand All @@ -221,14 +221,14 @@ Alternatively, you can install Pulumi ESC manually. We provide a prebuilt binary
<div class="w-full">
<h3 class="no-anchor pt-4"><i class="fas fa-download pr-2"></i>Windows Binary Download</h3>
<p>
<a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v0.5.1-windows-x64.zip">amd64</a>
<a class="btn btn-secondary mx-2" href="https://get.pulumi.com/esc/releases/esc-v{{< latest-version-esc >}}-windows-x64.zip">amd64</a>
</p>
</div>
</div>

Windows 8 and later are supported.

The latest version of Pulumi ESC is 0.5.1. For older versions, see [Available Versions](/docs/install/versions/).
The latest version of Pulumi ESC is {{< latest-version-esc >}}. For older versions, see [Available Versions](/docs/install/versions/).

{{< get-started-note >}}

Expand Down Expand Up @@ -274,7 +274,7 @@ This will install the `esc.exe` CLI to `%USERPROFILE%\.pulumi\bin` and add it to
Alternatively, you can install Pulumi ESC manually using binaries built for Windows x64.

<!-- markdownlint-disable url -->
1. Download [Pulumi ESC 0.5.1 binaries for Windows x64](https://get.pulumi.com/esc/releases/esc-v0.5.1-windows-x64.zip). For prior versions and release notes, see the [Available Versions](/docs/install/versions/) page.
1. Download [Pulumi ESC {{< latest-version-esc >}} binaries for Windows x64](https://get.pulumi.com/esc/releases/esc-v{{< latest-version-esc >}}-windows-x64.zip). For prior versions and release notes, see the [Available Versions](/docs/install/versions/) page.
<!-- markdownlint-enable url -->

1. Unzip the file and extract the contents to a folder such as `C:\esc`.
Expand All @@ -298,7 +298,7 @@ After installing Pulumi ESC, verify everything is in working order by running th

```bash
$ esc version
v0.5.1
v{{< latest-version-esc >}}
```

{{% /choosable %}}
Expand All @@ -307,7 +307,7 @@ v0.5.1

```bash
$ esc version
v0.5.1
v{{< latest-version-esc >}}
```

{{% /choosable %}}
Expand All @@ -316,7 +316,7 @@ v0.5.1

```bash
> esc version
v0.5.1
v{{< latest-version-esc >}}
```

{{% /choosable %}}
Expand All @@ -338,7 +338,7 @@ If you get an error that `esc` could not be found, it means your path has not be
### Installation script

```bash
$ curl -fsSL https://get.pulumi.com/esc/install.sh | sh -s -- --version <version>
$ curl -fsSL https://get.pulumi.com/esc | sh -s -- --version <version>
```

{{% /choosable %}}
Expand All @@ -350,7 +350,7 @@ $ curl -fsSL https://get.pulumi.com/esc/install.sh | sh -s -- --version <version
To install, run our installation script:

```bash
$ curl -fsSL https://get.pulumi.com/esc/install.sh | sh -s -- --version <version>
$ curl -fsSL https://get.pulumi.com/esc | sh -s -- --version <version>
```

{{% /choosable %}}
Expand Down
1 change: 1 addition & 0 deletions themes/default/layouts/shortcodes/latest-version-esc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- "0.5.1" -}}

0 comments on commit 114b902

Please sign in to comment.