Install using Visual Studio Code
Follow these steps to set up an Umbraco project with Visual Studio Code. The benefit of using Visual Studio Code is that it is super quick to get up and running.
Installing and setting up Visual Studio Code
Go to https://code.visualstudio.com/ and download Visual Studio Code for free.
Once installed, launch Visual Studio Code.
Click the extensions menu at the bottom on the left side. Then search for C# and install it.
Visual Studio Code install extension
Creating your Umbraco project
Follow the Templates Guide to create your project folder.
Configure Visual Studio Code to run the Umbraco project
Open your project folder in Visual Studio Code, your project will look something like this:

Now we need to tell Visual Studio Code how to run your project.
Open the command palette, you can use the shortcut Ctrl+Shift+P
, and type in Tasks: Configure
and select the Tasks: Configure Task
option:

Select "Create task.json from template"

Now select ".NET Core" as your template.

Visual Studio Code creates a folder called .vscode
that contains a file called tasks.json
. The tasks.json
file tells Visual Studio Code how to build your project.
Now that we've told Visual Studio Code how to build your project, we need to tell it how to launch it. Visual Studio Code can do this for you. First, select the little play button in the left side menu, and then select the "create a launch.json file" link.

This will prompt a menu to appear, select .NET 5+ and .NET Core:

Now you'll see a green play button appear with a dropdown where ".NET Core Launch (web)" is selected.

If you navigate to the Files section, a new launch.json
file is created in the .vscode
folder. When you press F5, the launch.json
file tells Visual Studio Code to build your project, run it, and then open a browser .

With that, you're ready to run the project! Press F5, or click the little green play button in the Run and Debug section to run your brand new Umbraco site locally.
Umbraco Web Installer
This section covers the installation and configuration of Umbraco inside your web browser when you run Umbraco for the first time.
You will see the install screen where you will need to fill in some data before Umbraco can be installed.

When the installer is done, you will be logged into the backoffice.
Congratulations, you have installed an Umbraco site!
Last updated