SharpConsoleUI.Host
2.4.46
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global SharpConsoleUI.Host --version 2.4.46
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local SharpConsoleUI.Host --version 2.4.46
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SharpConsoleUI.Host&version=2.4.46
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package SharpConsoleUI.Host --version 2.4.46
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.