Install using Visual Studio
A guide to install Umbraco CMS using Visual Studio.
- Install the newest Umbraco dotnet templates.
- In Visual Studio 2022, the .NET CLI templates are enabled to appear, by default. For information on how to enable .NET CLI templates in Visual Studio 2019, see the .NET CLI Templates in Visual Studio article.
This is an abbreviated version of the installation steps. Jump to the Create a new project section for a more thorough guide.
- Open Visual Studio.
- Go to
Project, search for Umbraco.
- Choose Umbraco Project (Umbraco HQ) then click Next.
- Choose or specify the parameters, leave the default or leave them all empty.
- Click Create.
- Use CTRL+F5 to run the project and start the Umbraco installer.
How to install Umbraco using NuGet and Visual Studio
To install Umbraco we first need to install Umbraco's dotnet new templates.
Go to File > New > Project and search for
Umbracoin the Search for templates field.
The Create a new project dialog in Visual Studio.
Once you select Umbraco Project (Umbraco HQ) navigate to the next step by clicking Next.
In this step, you will be able to give your project a name specific to the project you are creating.
The Configure your new project dialog in Visual Studio.
Refrain from changing the Solution name, as this will cause a namespace conflict with the CMS itself.
In the next step, you are able to specify some additional parameters like the Target framework. The rest are optional.
The Additional information dialog in Visual Studio.
You can then click the Create button and your Umbraco Project will be ready for you.
Overview of files in the project solution
You can now run the site through Visual Studio using F5 or the Debug button.
Follow the installation wizard and after a few steps, you will get a message saying the installation was a success.
You are now ready to start building your Umbraco project. Have a look below for different resources on the next steps.