dotnet-core/release-notes/6.0/install-maui.md
2021-08-10 09:35:00 -07:00

1.8 KiB

Install .NET Multi-platform App UI Workloads

As of .NET 6 preview 7, .NET MAUI is a workload. To install .NET MAUI with Android, iOS, and macOS (Mac Catalyst) SDKs:

$ dotnet workload install maui

We also have targeted workload manifests for mobile and desktop only:

$ dotnet workload install maui-desktop
$ dotnet workload install maui-mobile

Optionally, for more granular control you can install platform SDKs individually:

$ dotnet workload install microsoft-android-sdk-full
$ dotnet workload install microsoft-ios-sdk-full
$ dotnet workload install microsoft-maccatalyst-sdk-full
$ dotnet workload install microsoft-macos-sdk-full
$ dotnet workload install microsoft-tvos-sdk-full

To check your environment for additional dependencies and obtain the latest .NET MAUI SDKs, we recommend using our maui-check dotnet tool.

$ dotnet tool install -g redth.net.maui.check

Then run the tool and follow the instructions presented:

$ maui-check

See our documentation for further details about getting started, including installing Windows App SDK requirements.

Android

Prerequisites:

  • Install .NET 6.0.0 preview 7
  • You will need the Android SDK installed as well as Android SDK Platform 30. One way to acquire this is to install the Xamarin workload in the Visual Studio installer. You can manage Android SDKs from Tools > Android > Android SDK Manager from within Visual Studio.

iOS, Mac Catalyst, and macOS (Cocoa)

Prerequisites:

Downloads

Download links are provided for each of the distributions at: