dotnet-nuget-locals - Man Page

Clears or lists local NuGet resources.

dotnet nuget locals

This topic applies to: ✓ .NET Core 1.x SDK and later versions

Synopsis

dotnet nuget locals <CACHE_LOCATION> [(-c|--clear)|(-l|--list)] [--force-english-output]
dotnet nuget locals [-h|--help]

Description

The dotnet nuget locals command clears or lists local NuGet resources in the http-request cache, temporary cache, or machine-wide global packages folder.

Arguments

  • CACHE_LOCATION

    The cache location to list or clear. It accepts one of the following values:

    • all - Indicates that the specified operation is applied to all cache types: http-request cache, global packages cache, and the temporary cache.
    • http-cache - Indicates that the specified operation is applied only to the http-request cache. The other cache locations aren’t affected.
    • global-packages - Indicates that the specified operation is applied only to the global packages cache. The other cache locations aren’t affected.
    • temp - Indicates that the specified operation is applied only to the temporary cache. The other cache locations aren’t affected.

Options

Examples

Troubleshooting

For information on common problems and errors while using the dotnet nuget locals command, see Managing the NuGet cache.

Authors

karann-msft.

Info

.NET Core