SharpConsoleUI.Host 2.4.52

dotnet tool install --global SharpConsoleUI.Host --version 2.4.52
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local SharpConsoleUI.Host --version 2.4.52
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SharpConsoleUI.Host&version=2.4.52
                    
nuke :add-package SharpConsoleUI.Host --version 2.4.52
                    

schost — SharpConsoleUI Desktop Host Tool

A CLI tool that launches SharpConsoleUI apps in a configured terminal and packages them for distribution.

Install

From NuGet (recommended):

dotnet tool install -g SharpConsoleUI.Host

From source:

cd tools/schost
dotnet pack src/schost -c Release
dotnet tool install --global --add-source src/schost/nupkg SharpConsoleUI.Host

Or run directly without installing:

dotnet run --project src/schost -- <command>

Quick Start

New project

dotnet new install tools/schost/templates/schost-app
dotnet new schost-app -n MyApp --title "My App"
cd MyApp
schost run
schost pack --installer

Existing project

schost init MyApp/MyApp.csproj
schost run
schost pack

Commands

schost init [project]

Interactive setup — creates schost.json with terminal preferences (title, font, size, colors).

schost run [project] [--no-build] [--inline]

Builds and launches the app in a new terminal window with configured settings.

  • Default: opens new Windows Terminal tab (or Linux terminal emulator)
  • --inline: runs in current terminal (for debugging)

schost pack [project] [-o dir] [-r runtime] [--installer] [--no-trim]

Publishes as single-file exe, creates portable ZIP, launcher script, and optional Inno Setup installer.

schost install [project] --exe <path> [--uninstall]

Registers/unregisters a Windows Terminal profile or Linux .desktop file.

Configuration (schost.json)

{
  "title": "My App",
  "font": "Cascadia Code",
  "fontSize": 14,
  "columns": 120,
  "rows": 35,
  "colorScheme": "One Half Dark"
}

Terminal Support

Windows: Windows Terminal (preferred) → conhost (fallback)

Linux: ghostty, kitty, alacritty, wezterm, foot, gnome-terminal, konsole, xfce4-terminal, xterm

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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.

This package has no dependencies.

Version Downloads Last Updated
2.4.52 59 4/7/2026
2.4.51 68 4/6/2026
2.4.50 66 4/4/2026
2.4.49 67 4/3/2026
2.4.48 91 3/30/2026
2.4.47 117 3/25/2026
2.4.46 96 3/25/2026
2.4.45 84 3/22/2026
2.4.44 92 3/15/2026