dotnet-workload-update - Man Page

Updates installed workloads.

dotnet workload update

This article applies to: ✔️ .NET 6 SDK and later versions

Synopsis

dotnet workload update
    [--advertising-manifests-only]
    [--configfile <FILE>] [--disable-parallel]
    [--from-previous-sdk] [--ignore-failed-sources]
    [--include-previews] [--interactive] [--no-cache]
    [-s|--source <SOURCE>] [--temp-dir <PATH>]
    [-v|--verbosity <LEVEL>] [--version]

dotnet workload update -?|-h|--help

Description

The dotnet workload update command updates all installed workloads to the newest available versions. It queries Nuget.org for updated workload manifests. It then updates local manifests, downloads new versions of the installed workloads, and removes all old versions of each workload.

When the command is in workload-set update mode, workloads are updated according to the workload-set version, not the latest version of each individual workload. For more information, see .NET SDK workload sets. workload-set mode is available since 8.0.400 SDK.

For more information about the dotnet workload commands, see the dotnet workload install command.

Options

Examples

Info

2024-10-02 .NET Documentation