Skip to content

Commit ef7666b

Browse files
authored
[release/9.4] Backporting a few get-aspire-cli script PRs (#10586)
1 parent 036b4bf commit ef7666b

File tree

4 files changed

+642
-233
lines changed

4 files changed

+642
-233
lines changed

docs/using-latest-daily.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,17 @@ If you use [Package Source Mapping](https://learn.microsoft.com/en-us/nuget/cons
3737

3838
## Install the daily CLI
3939

40-
```sh
41-
dotnet tool install --global aspire.cli --prerelease --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json
40+
On Windows:
41+
42+
```powershell
43+
iex "& { $(irm https://aka.ms/aspire/get/install.ps1) } -Quality dev"
4244
```
4345

44-
now `aspire` will be available as a [tool](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-install).
46+
On Linux, or macOS:
47+
48+
```sh
49+
curl -sSL https://aka.ms/aspire/get/install.sh | bash -s -- -q dev
50+
```
4551

4652
<!-- break between blocks -->
4753

eng/scripts/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ This directory contains scripts to download and install the Aspire CLI for diffe
99

1010
## Current Limitations
1111

12-
⚠️ **Important**: Currently, only the following combination works:
13-
- **Version**: `9.0`
14-
- **Quality**: `daily`
12+
Supported Quality values:
1513

16-
Other version/quality combinations are not yet available through the download URLs.
14+
- `dev` - builds from the `main` branch
15+
- `staging` - builds from the current `release` branch like `release/9.4`
16+
- `ga` - build for the latest GA
1717

1818
## Parameters
1919

@@ -23,7 +23,7 @@ Other version/quality combinations are not yet available through the download UR
2323
|------------------|-------|---------------------------------------------------|-----------------------|
2424
| `--install-path` | `-i` | Directory to install the CLI | `$HOME/.aspire/bin` |
2525
| `--version` | | Version of the Aspire CLI to download | `9.0` |
26-
| `--quality` | `-q` | Quality to download | `daily` |
26+
| `--quality` | `-q` | Quality to download | `release` |
2727
| `--os` | | Operating system (auto-detected if not specified) | auto-detect |
2828
| `--arch` | | Architecture (auto-detected if not specified) | auto-detect |
2929
| `--keep-archive` | `-k` | Keep downloaded archive files after installation | `false` |
@@ -32,15 +32,15 @@ Other version/quality combinations are not yet available through the download UR
3232

3333
### PowerShell Script (`get-aspire-cli.ps1`)
3434

35-
| Parameter | Description | Default |
36-
|-----------------|---------------------------------------------------|----------------------------------|
37-
| `-InstallPath` | Directory to install the CLI | `$HOME/.aspire/bin` (Unix) / `%USERPROFILE%\.aspire\bin` (Windows) |
38-
| `-Version` | Version of the Aspire CLI to download | `9.0` |
39-
| `-Quality` | Quality to download | `daily` |
40-
| `-OS` | Operating system (auto-detected if not specified) | auto-detect |
41-
| `-Architecture` | Architecture (auto-detected if not specified) | auto-detect |
42-
| `-KeepArchive` | Keep downloaded archive files after installation | `false` |
43-
| `-Help` | Show help message | |
35+
| Parameter | Description | Default |
36+
|-----------------|---------------------------------------------------|--------------------------------------------------------------------|
37+
| `-InstallPath` | Directory to install the CLI | `$HOME/.aspire/bin` (Unix) / `%USERPROFILE%\.aspire\bin` (Windows) |
38+
| `-Version` | Version of the Aspire CLI to download | `9.0` |
39+
| `-Quality` | Quality to download | `release` |
40+
| `-OS` | Operating system (auto-detected if not specified) | auto-detect |
41+
| `-Architecture` | Architecture (auto-detected if not specified) | auto-detect |
42+
| `-KeepArchive` | Keep downloaded archive files after installation | `false` |
43+
| `-Help` | Show help message | |
4444

4545
## Install Path Parameter
4646

0 commit comments

Comments
 (0)