SharpConsoleUI.Host 2.6.18

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global SharpConsoleUI.Host --version 2.6.18
                    
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.6.18
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SharpConsoleUI.Host&version=2.6.18
                    
nuke :add-package SharpConsoleUI.Host --version 2.6.18
                    

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 net10.0 is compatible.  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.7.4 52 10/15/2026
2.7.3 75 10/14/2026
2.7.2 62 10/14/2026
2.7.1 60 10/14/2026
2.7.0 72 10/13/2026
2.6.18 92 10/8/2026
2.6.17 91 10/8/2026
2.6.16 96 10/2/2026
2.6.15 98 10/1/2026
2.6.14 100 9/30/2026
2.6.13 89 9/30/2026
2.6.12 95 9/29/2026
2.6.11 95 9/29/2026
2.6.10 94 9/28/2026
2.6.9 102 9/26/2026
2.6.8 110 9/22/2026
2.6.7 98 9/18/2026
2.6.6 120 9/8/2026
2.6.5 110 9/4/2026
2.6.4 115 9/2/2026
Loading failed