If you prefer, you can also get started with Blazor using the command-line interface version of the tutorial.
During installation, the ASP.NET and web development workload should be selected (the installation link above already pre-selects that option).
If you already have Visual Studio 2022, you can add the ASP.NET and web development workload:
To start building .NET apps, download and install the .NET SDK.
If you're on a Mac with an Apple M1 chip, you need to install the Arm64 version of the SDK.
Once you've installed, open a new terminal and run the following command:
If the installation succeeded, you should see version 8.0.100 or higher outputted:
If everything looks good, select the Continue button below to go to the next step.
If you receive a zsh: command not found: dotnet error, make sure you opened a new terminal window. If you can't resolve the issue, use the I ran into an issue button to get help fixing the problem.
If you receive a dotnet: command not found error, make sure you opened a new terminal window. If you can't resolve the issue, use the I ran into an issue button to get help fixing the problem.