Skip to main content

Getting started

Get started with Avalonia, the cross-platform .NET UI framework. Install the SDK, set up your IDE, and create your first project.


This section walks you through everything you need to go from zero to a running Avalonia application. Follow the guides in order, or jump to the one you need.

Install Avalonia

Install the .NET SDK and Avalonia project templates.

Set Up Your IDE

Configure JetBrains Rider, Visual Studio, or VS Code for Avalonia development.

Create Your First Project

Create an Avalonia app from a template and run it.

Starter Tutorial

Build a temperature converter app and learn core Avalonia concepts.

What is Avalonia?

Avalonia is an open-source, cross-platform UI framework for .NET. It uses its own rendering engine to draw controls, so your app looks and behaves the same on every platform. Write your UI once in C# or F# with XAML, and deploy to Windows, macOS, Linux, iOS, Android, and WebAssembly.

If you have experience with WPF or UWP, Avalonia's XAML and API will feel familiar. If you are new to XAML-based frameworks, the starter tutorial is the best place to begin.

Already have .NET and an IDE?

If you already have .NET 8+ and your IDE configured, you can skip straight to creating a project:

dotnet new install Avalonia.Templates
dotnet new avalonia.mvvm -o MyApp
cd MyApp
dotnet run

Coming from WPF?

Avalonia's API is intentionally close to WPF, but there are important differences in styling, templates, and the property system. See the WPF migration guide for a section-by-section comparison.

If you need to run an existing WPF application cross-platform without rewriting it, Avalonia XPF provides binary-compatible WPF support on top of Avalonia's rendering engine.