dotnet workload restore - Installs workloads needed for a project or a solution. Introduced with .NET 6 SDK.
The dotnet workload restore command analyzes a project or solution to determine which workloads it needs, then installs any workloads that are missing.
Docs: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-restore