Watch Aspire live streamsDocsTry Aspire

Upgrade Aspire to the latest version

Upgrade Aspire by updating the Aspire CLI and the Aspire packages used by your app. The aspire update command handles most package updates for supported AppHost configurations, but you should also review breaking changes and update tooling extensions.

  1. Update the Aspire CLI to the latest version:

    Update the Aspire CLI
    aspire update --self

    If you installed the CLI from npm or as a .NET tool, aspire update --self prints the matching package-manager command to run (for example, npm install -g @microsoft/aspire-cli@latest) instead of replacing a package-manager-owned binary. See Updating the CLI based on how it was installed.

  2. Update your Aspire app by running:

    Update your Aspire app
    aspire update

    This command automatically:

    • Detects outdated Aspire integrations, templates, and SDK version
    • Updates the SDK version and Aspire integration versions for the configured Aspire channel
    • Handles versions declared inline, in aspire.config.json, or in supported centralized version files

For more information, see aspire update command reference.

Update standalone dashboard container references

Section titled “Update standalone dashboard container references”

If you manage the standalone dashboard as a container, its stable image repository is now mcr.microsoft.com/aspire/dashboard; nightly images use mcr.microsoft.com/aspire/nightly/dashboard. Updating the Aspire CLI or packages doesn’t rewrite image references in your own Docker commands, Compose files, or Kubernetes manifests.

Before replacing a legacy dotnet/aspire-dashboard or dotnet/nightly/aspire-dashboard reference, verify that the tag you use exists in the new repository. Legacy repositories continue to receive Aspire 13 servicing images, but their latest tag stays on the Aspire 13 line rather than following future major releases. Generated deployment output remains specific to the Aspire publisher version.

For the repository mapping, tag selection, and compatibility details, see Container image repositories and migration.

If you have the Aspire extension installed, you can update it to get the latest tooling support:

  1. Open VS Code
  2. Go to Extensions (Command + Shift + XControl + Shift + XControl + Shift + X)
  3. Search for Aspire
  4. Click Update if an update is available

For more information, see Aspire extension for VS Code.

Remove the legacy workload (Aspire 8 only)

Section titled “Remove the legacy workload (Aspire 8 only)”

If you’re upgrading from Aspire 8 and your machine has the legacy Aspire workload installed, remove it after updating the CLI. For Aspire 9 or later, no action is required.

Remove the aspire workload with the following command:

Remove the legacy Aspire workload
dotnet workload uninstall aspire

After upgrading, run your application to ensure everything works as expected:

Run the Aspire application
aspire run