It's now recommended to create .NET Maui apps with Visual Studio according to their current documentation.
Older suggestion:
I'd recommend using the check tool provided. This will install the templates for you and make sure everything else is present to develop using Maui.
Install: dotnet tool install -g redth.net.maui.check
Run: maui-check --dev
This will check for:
OpenJdk / AndroidSDK
.NET 6 Preview SDK
.NET MAUI / iOS / Android workloads and packs
.NET MAUI Templates
Workload Resolver .sentinel files for dotnet and Visual Studio Windows/Mac
Currently does not install workloads required for WinUI3