Skip to content

Commit 87d5545

Browse files
authored
feat: Update PowerShell installation command for consistency across documentation (#47)
1 parent e399a45 commit 87d5545

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

src/frontend/src/components/InstallAspireCLI.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import AsciinemaPlayer from "@components/AsciinemaPlayer.astro";
2020
<Code
2121
lang="powershell"
2222
title={Astro.locals.t("aspire.installCliGlobally")}
23-
code='iex "& { $(irm https://aspire.dev/install.ps1) }"'
23+
code="irm https://aspire.dev/install.ps1 | iex"
2424
/>
2525
</TabItem>
2626
</Tabs>

src/frontend/src/components/InstallCliModal.astro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const { id = "install-cli-modal" } = Astro.props;
100100
<div class="code-wrapper" data-version="release">
101101
<Code
102102
lang="powershell"
103-
code='iex "& { $(irm https://aspire.dev/install.ps1) }"'
103+
code="irm https://aspire.dev/install.ps1 | iex"
104104
frame="none"
105105
/>
106106
</div>
@@ -134,7 +134,8 @@ const { id = "install-cli-modal" } = Astro.props;
134134
style="display: none;"
135135
>
136136
<Aside type="note">
137-
Staging builds are prerelease versions. Not recommended for production.
137+
Staging builds are prerelease versions. Not recommended for
138+
production.
138139
</Aside>
139140
</div>
140141

@@ -144,7 +145,8 @@ const { id = "install-cli-modal" } = Astro.props;
144145
style="display: none;"
145146
>
146147
<Aside type="caution">
147-
Hot off the press! Dev builds are the latest versions and may be unstable.
148+
Hot off the press! Dev builds are the latest versions and
149+
may be unstable.
148150
</Aside>
149151
</div>
150152
</div>

src/frontend/src/content/docs/get-started/install-cli.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ You can download and run the script in a single command, to install the Aspire C
3333
<TabItem label="PowerShell" icon="seti:powershell">
3434
<Code
3535
lang="powershell"
36-
code='iex "& { $(irm https://aspire.dev/install.ps1) }"'
36+
code='irm https://aspire.dev/install.ps1 | iex'
3737
/>
3838
</TabItem>
3939
</Tabs>

src/frontend/src/content/docs/whats-new/aspire-13.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The easiest way to upgrade to Aspire 13.0 is using the `aspire update` command:
6363
<TabItem label="PowerShell" icon="seti:powershell">
6464
<Code
6565
lang="powershell"
66-
code='iex "& { $(irm https://aspire.dev/install.ps1) }"'
66+
code='irm https://aspire.dev/install.ps1 | iex'
6767
/>
6868
</TabItem>
6969
</Tabs>

src/frontend/src/content/docs/whats-new/aspire-9-5.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Moving between minor releases of Aspire is simple:
3939
curl -sSL https://aspire.dev/install.sh | bash
4040

4141
# PowerShell
42-
iex "& { $(irm https://aspire.dev/install.ps1) }"
42+
irm https://aspire.dev/install.ps1 | iex
4343
```
4444

4545
1. In your AppHost project file (that is, _MyApp.AppHost.csproj_), update the [📦 Aspire.AppHost.Sdk](https://www.nuget.org/packages/Aspire.AppHost.Sdk) NuGet package to version `9.5.0`:

0 commit comments

Comments
 (0)