İçeriğe geç

aspire cache command

Bu içerik henüz dilinizde mevcut değil.

aspire cache - Manage disk cache for CLI operations.

Aspire CLI
aspire cache [command] [options]

The aspire cache command manages the disk cache used by the Aspire CLI for various operations. The CLI caches data such as downloaded templates, NuGet package information, and other temporary files to improve performance and reduce network requests.

The following options are available:

  • -?, -h, --help

    Prints help and usage documentation for the available commands and options.

  • -d, --debug

    Enable debug logging to the console, which prints detailed information about what .NET Aspire CLI is doing when a command is run.

  • --wait-for-debugger

    Wait for a debugger to attach before running a command.

The following commands are available:

CommandStatusFunction
aspire cache clearStableClear all cache entries.

The Aspire CLI stores cache data in a platform-specific location:

  • Windows: %LOCALAPPDATA%\.aspire\cli\cache\
  • macOS/Linux: ~/.aspire/cli/cache/

You may want to clear the cache in the following scenarios:

  • After updating the Aspire CLI to ensure fresh data
  • When experiencing issues with template installation
  • To free up disk space
  • When NuGet package information appears outdated
  • When troubleshooting CLI behavior
Sor & YanıtlaİşbirliğiToplulukTartışİzle