A runner for the dotnet Aspire Dashboard
$ dotnet add package AspireRunner.ToolA dotnet tool for downloading and running the standalone Aspire Dashboard.
The dashboard can display OpenTelemetry data (traces, metrics, and logs) from any application. However, the dotnet tool is specifically intended for use during local development and testing
dotnet tool install -g aspirerunner.tool
You can also use dnx (.NET 10 and later) to run the tool immediately without installing it
dnx aspirerunner.tool
Alternatively, you can download a self-contained version of the tool from GitHub releases, in this case, the runner will not require any specific runtime to be installed, however, the dashboard will still require .NET 8.0 or above.
[!NOTE] By default, The runner will download the dashboard to the user's
.dotnetdirectory (~/.dotnet/.AspireRunner), this can be changed by setting theASPIRE_RUNNER_PATHenvironment variable.
aspire-dashboard [run] [ARGUMENTS] [OPTIONS]
ARGUMENTS:
[version] The version of the dashboard to run
OPTIONS:
DEFAULT
-h, --help Prints help information
-v, --version Prints version information
-b, --browser Launch the dashboard in the default browser
-p, --port 18888 The port the dashboard will be available on
-a, --auth Use browser token authentication for the dashboard
-t, --token The token to use for dashboard authentication, if not passed, the token will be randomly generated by the dashboard
-s, --https True Use HTTPS instead of HTTP, this applies to the dashboard, OTLP and MCP servers
--dashboard-https Use HTTPS instead of HTTP for the dashboard, overrides the global HTTPS option
--otlp-port 4317 The port the OTLP/gRPC server will listen on, can be disabled by passing 0
--otlp-http-port The port the OTLP/HTTP server will listen on, by default, only the gRPC server is started
--otlp-key The API key to use for the OTLP server
--otlp-https Use HTTPS instead of HTTP for the OTLP/gRPC and OTLP/HTTP endpoints, overrides the global HTTPS option
--cors-origins The allowed origins for CORS requests, separated by a comma. A wildcard (*) can be used to allow any domain
--cors-headers The allowed headers for CORS requests, separated by a comma
--hostname localhost The hostname used for the dashboard, OTLP and MCP servers
-m, --multiple Allow running multiple instances of the dashboard, if not passed, existing instances will be replaced
--auto-update True Automatically update the dashboard to the latest version
--mcp-port 18891 The port the MCP server will listen on, can be disabled by passing 0, disabling will remove MCP-related UI in the dashboard
--mcp-key The API key to use for the MCP server
--mcp-https Use HTTPS instead of HTTP for the MCP server, overrides the global HTTPS option
--verbose Enable verbose logging
aspire-dashboard install [version] [OPTIONS]
ARGUMENTS:
[version] The version of the dashboard to install, pass 'latest' to install the latest version available
OPTIONS:
-h, --help Prints help information
-p, --allow-prerelease Allow prerelease versions when installing
aspire-dashboard uninstall [version] [OPTIONS]
ARGUMENTS:
[version] The version of the dashboard to uninstall, pass 'all' or '*' to uninstall all versions
OPTIONS:
-h, --help Prints help information
Removes old versions of the dashboard and other temporary files
aspire-dashboard cleanup