Download and install Visual Studio 2022 Preview.
During installation, the .NET Multi-platform App UI development workload should be selected. Using the link above should preselect all the prerequisites correctly, as shown on the following image:
Tooling support in Visual Studio is still in preview, so .NET MAUI is not available on Visual Studio 2022, just on Visual Studio 2022 Preview.
If you already have Visual Studio 2022 Preview, you can update your installation to add .NET MAUI support.
To manually add the required workload: