So you need to know how to install Microsoft .NET MAUI on windows, and i’m going to show you how! And trust me, Microsoft made .NET MAUI extremely easy to install! Just follow these fast steps below in order and you will be all set.
The first step is to install Visual Studio 2022. Click this link to get to Visual Studios download page.
After the download is done, install it and make sure that you select these 5 options that are listed below.
- ASP.NET and web development
- .NET Desktop Development
- Desktop development with C++
- Universal Windows Platform development
- Mobile development with .NET
When Visual Studio is done installing. You need to open a terminal. The regular Windows terminal works fine, but I like to you the new “Windows Terminal“. Check it out!
In the terminal, write this line to install .NET MAUI
dotnet tool install -g redth.net.maui.check
Or if you already have .NET MAUI installed, you can update it with this command.
dotnet tool update -g redth.net.maui.check
When that is done, run this command to install all the extra stuff .NET MAUI needs to run, compile and emulate.
Note: I had to run maui-check 2 times, before everything was installed correctly.
There you go, that’s it! Now you have .NET MAUI on your computer and you can open it in Visual Stuido.
But before you go! There are a couple of things more you might want to check just to make sure your emulators can run correctly:
- Update your graphic card drivers
- Enable Hyper-V on your computer for a faster emulator (optional, but worth it). Check out this post to see how!
- Make sure you have atleast 15 GB free
- Enable developer mode in Windows. Check out this post to see how!
Do you already know how to how to install Microsoft .NET MAUI on Windows? Or do you want to learn how to create your first awesome .NET MAUI app? Take a look at this post, and I will show you a super fast step by step tutorial on how to create you first .NET MAUI app!