aspire add command
Name
aspire add - Add an integration to the Aspire project.
Synopsis
aspire add [] [options]
Description
The aspire add command searches for an integration package and adds it to the Aspire AppHost.
Arguments
The following arguments are available:
integrationThe name of the integration to add (for example: redis, postgres).
If a partial name or invalid name is provided, the CLI searches NuGet for approximate matches and prints them in the terminal for the user to select. If no results are found, all packages are listed.
Options
The following options are available:
-
-v, --version
The version of the integration to add.
-s, --sourceThe NuGet source to use for the integration.
-
-
-
-
-
Examples
-
-
-
-
Finds an AppHost project and lists all Aspire integration packages from NuGet:
aspire addFinds an AppHost project and adds the kafka (Aspire.Hosting.Kafka) integration package:
aspire add kafka --version 13.2.0