Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion src/frontend/src/content/docs/get-started/install-cli.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
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 1 to 5
---
Expand Down Expand Up @@ -43,6 +43,24 @@ At any time, you can reopen the **Install Aspire CLI** command modal from the to

You only need to download the script separately if you want to inspect it or run the installer as separate commands. For more information, see the [aspire-install script reference](/reference/cli/install-script/).

## 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.
Comment on lines +46 to +52

```bash title="Install the Aspire CLI as a NativeAOT .NET tool"
dotnet tool install -g Aspire.Cli
```

Self-update via `aspire update --self` is disabled for .NET tool installs. Update the CLI through the .NET SDK instead:

```bash title="Update the Aspire CLI"
dotnet tool update -g Aspire.Cli
```

## Validation

To validate that the Aspire CLI is installed, use `aspire --version` to query Aspire CLI for a version number:
Expand Down
Loading