来源信息
- 仓库
- microsoft/aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry
- 最近来源活动
- 2026年4月20日 15:28
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 74
- 分支
- 38
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
菜单
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/microsoft/aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry --skill aspire-cli-install命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | aspire-cli-install |
| description | Migrating .NET Aspire repos from workload install to CLI script install |
| domain | aspire, dotnet, devops |
| confidence | high |
| source | earned (verified against https://aspire.dev/get-started/install-cli/ on 2026-04-20; package upgrade to 13.2.2 validated) |
The .NET Aspire team deprecated the dotnet workload install aspire command and replaced it with a standalone CLI installed via install scripts. This affects all .NET Aspire repositories that document installation steps or configure devcontainers.
Bash (Linux/macOS):
curl -sSL https://aspire.dev/install.sh | bash
PowerShell (Windows):
iex "& { $(irm https://aspire.dev/install.ps1) }"
Validation:
aspire --version # Should return 13.2.0+{commitSHA} or similar
dotnet workload install aspirePrerequisites.md, Installation.md, etc..devcontainer/devcontainer.json postCreateCommand or onCreateCommanddotnet workload install aspire with install script commandaspire --version validation steppostCreateCommand if needed (and add a comment explaining why)Before:
2. **.NET Aspire Workload**
```bash
dotnet workload install aspire
**After:**
```markdown
2. **Aspire CLI**
The Aspire CLI is installed via an install script (the old `dotnet workload install aspire` is obsolete).
**Bash (Linux/macOS):**
```bash
curl -sSL https://aspire.dev/install.sh | bash
PowerShell (Windows):
iex "& { $(irm https://aspire.dev/install.ps1) }"
Verify installation:
aspire --version # Should return 13.2.0+{commitSHA} or similar
See https://aspire.dev/get-started/install-cli/ for details.
### Devcontainer Update
**Before:**
```json
"postCreateCommand": "dotnet workload install aspire"
After:
// Installs Aspire CLI per https://aspire.dev/get-started/install-cli/
"postCreateCommand": "curl -sSL https://aspire.dev/install.sh | bash"
dotnet workload install aspire in docs or devcontainer — it's obsoleteaspire --version validation step — developers need to confirm the install worked