Consolonia 12.0.3.14

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Consolonia --version 12.0.3.14
                    
NuGet\Install-Package Consolonia -Version 12.0.3.14
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Consolonia" Version="12.0.3.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Consolonia" Version="12.0.3.14" />
                    
Directory.Packages.props
<PackageReference Include="Consolonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Consolonia --version 12.0.3.14
                    
#r "nuget: Consolonia, 12.0.3.14"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Consolonia@12.0.3.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Consolonia&version=12.0.3.14
                    
Install as a Cake Addin
#tool nuget:?package=Consolonia&version=12.0.3.14
                    
Install as a Cake Tool

logo

🚀 Modern UI Power, Now in Your Console

This package is a meta package which includes everything you need to build Console applications using Consolonia and Avalonia.

gallery

Usage

Define an application with a theme (See Consolonia.Themes.TurboVision for themes)

Define a Window

HelloWorldWindow.axaml

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="HelloWorldWindow">
    <TextBlock Text="Hello World" />
</Window>

## Define an application 
You need to define an application that defines a theme and sets the main window.

HelloWorldApp.cs
```csharp
// use HelloWorldWindow as the MainWindow for the application
public class HelloWorldApp : ConsoloniaApplication<HelloWorldWindow>
{
    public override void Initialize()
    {
        // set the theme
        Styles.Add(new FluentTheme());
    }
}

Setup program.cs

Program.cs

[STAThread]
private static void Main(string[] args)
{
    BuildAvaloniaApp()
        .StartWithConsoleLifetime(args);
}

public static AppBuilder BuildAvaloniaApp()
    => AppBuilder.Configure<HelloWorldApp>()
        .UseConsolonia()
        .UseAutoDetectedConsole()
        .LogToException();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Consolonia:

Package Downloads
Consolonia.Blazor

This package provides the ability to use Blazor .razor files to create console apps using Consolonia.

Gui.SystemDialogs.Consolonia.Sharp

Consolonia / Avalonia 11 implementation of Gui.SystemDialogs.Sharp services.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Consolonia:

Repository Stars
MCCTeam/Minecraft-Console-Client
Lightweight console for Minecraft chat and automated scripts. Currently supports up to Minecraft 26.2
aaru-dps/Aaru
Aaru Data Preservation Suite
Version Downloads Last Updated
12.1.4.14-alpha.2913 61 10/23/2026
12.1.4.14-alpha.2912 56 10/23/2026
12.1.4.14-alpha.2911 52 10/23/2026
12.1.4.14-alpha.2910 51 10/23/2026
12.1.4.14-alpha.2908 66 10/20/2026
12.0.3.14 1,176 10/1/2026
12.0.3.14-alpha.2904 64 10/20/2026
12.0.3.14-alpha.2902 57 10/15/2026
12.0.3.14-alpha.2900 64 10/15/2026
12.0.3.14-alpha.2898 65 10/14/2026
12.0.3.14-alpha.2897 60 10/14/2026
12.0.3.14-alpha.2894 52 10/13/2026
12.0.3.14-alpha.2880 55 10/11/2026
12.0.3.14-alpha.2876 59 10/11/2026
12.0.3.13 719 8/27/2026
12.0.3.13-alpha.2805 77 9/13/2026
12.0.3.13-alpha.2804 81 9/13/2026
12.0.3.13-alpha.2803 74 9/12/2026
12.0.3.12 187 8/25/2026
12.0.3.11-alpha.2735 88 8/20/2026
Loading failed