Follow these steps to configure your development environment for building applications with Avalonia UI.
To install the Avalonia templates, run the following command:
dotnet new install Avalonia.Templates
The Avalonia for Visual Studio extension includes a XAML designer which can be used to show a live preview of the XAML as you're writing it. With the Avalonia for Visual Studio extension installed, double click on an Avalonia XAML file to open it.
The JetBrains Rider IDE has built-in support for Avalonia XAML starting in 2020.3, including first-class support for Avalonia-specific XAML features and custom code inspections.
There also exists an extension that enables live previewing of Avalonia XAML files.