Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.04 KB

File metadata and controls

42 lines (26 loc) · 1.04 KB
title dotnet workload clean command
description The `dotnet workload clean` command removes workload components that might have been left behind from previous updates and uninstallations.
ms.date 09/29/2025

dotnet workload clean

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

Name

dotnet workload clean - Removes workload components that might have been left behind from previous updates and uninstallations.

Synopsis

dotnet workload clean [options]

dotnet workload clean -?|-h|--help

Description

The dotnet workload clean command removes all workload components that have been uninstalled.

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

Options

  • --all

    Removes and uninstalls all workload components from all SDK versions. Defaults to false.

  • [!INCLUDE help]

Examples

  • Remove all workflow components:

    dotnet workload clean --all