Skip to content

[docs] Document installing the Aspire CLI as a NativeAOT .NET tool#842

Open
radical wants to merge 1 commit intomicrosoft:mainfrom
radical:ankj/install-cli-dotnet-tool
Open

[docs] Document installing the Aspire CLI as a NativeAOT .NET tool#842
radical wants to merge 1 commit intomicrosoft:mainfrom
radical:ankj/install-cli-dotnet-tool

Conversation

@radical
Copy link
Copy Markdown
Member

@radical radical commented May 5, 2026

Documents the new dotnet tool install -g Aspire.Cli install path introduced in Aspire 13.3.

Source PRs: microsoft/aspire#16496 (ships the CLI as a NativeAOT .NET tool) and microsoft/aspire#16611 (servicing backport to release/13.3).

Issue: Addresses item 1 of #837 (CLI conceptual docs gap for 13.3).

What changed

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

  • New ## Install as a NativeAOT .NET tool section between the existing install-script section and Validation, with:
    • 13.3 introduction note.
    • dotnet tool install -g Aspire.Cli install command.
    • .NET SDK 10.0.100 prerequisite mention.
    • dotnet tool update -g Aspire.Cli update command, plus a note that aspire update --self is disabled for .NET tool installs (per microsoft/aspire#16496 — the CLI prints the equivalent dotnet tool update command instead).
  • Page description updated: .NET global toolNativeAOT .NET tool, matching the new heading and body.

Out of scope

Documents the new `dotnet tool install -g Aspire.Cli` install path
introduced in Aspire 13.3 (microsoft/aspire#16496, backported in
microsoft/aspire#16611).

- Adds a new "Install as a NativeAOT .NET tool" H2 to install-cli.mdx
  with the install command, the .NET SDK 10.0.100 prerequisite, and the
  matching `dotnet tool update -g Aspire.Cli` update command.
- Notes that `aspire update --self` is disabled for .NET tool installs
  (PR 16496 redirects users to `dotnet tool update` in that case).
- Updates the page description to drop "global" — the heading and body
  use "NativeAOT .NET tool" consistently.

Refs: microsoft#837 (item 1)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@radical radical marked this pull request as ready for review May 5, 2026 21:58
@radical radical requested a review from IEvangelist as a code owner May 5, 2026 21:58
@radical radical requested review from Copilot and maddymontaquila May 5, 2026 21:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation for the new Aspire 13.3 installation path that ships the Aspire CLI as a NativeAOT .NET tool, complementing the existing install-script guidance.

Changes:

  • Updates page description to reference “NativeAOT .NET tool” instead of “.NET global tool”.
  • Adds a new “Install as a NativeAOT .NET tool” section with install/update commands and a note about aspire update --self being disabled for tool installs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 1 to 5
---
title: Install Aspire CLI
description: Learn how to install the Aspire CLI as a native executable or .NET global tool to manage your cloud-native applications.
description: Learn how to install the Aspire CLI as a native executable or NativeAOT .NET tool to manage your cloud-native applications.
lastUpdated: true
tableOfContents: true
Comment on lines +46 to +52
## Install as a NativeAOT .NET tool

<Aside type="note">
This install method was introduced in Aspire 13.3.
</Aside>

The Aspire CLI is also published as a NativeAOT [.NET tool](https://learn.microsoft.com/dotnet/core/tools/global-tools). This install method requires the .NET SDK 10.0.100 or later.
@radical radical requested a review from joperezr May 5, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants