Skip to content

Installation

Repl Toolkit targets .NET 10+ and ships as a set of focused NuGet packages.

For most projects, install the Repl meta-package — it bundles Core, Defaults, and Protocol:

Terminal window
dotnet add package Repl

That’s it. You’re ready to write your first app.

  • .NET 10 SDK or later (dotnet --version)
  • Any project type works: console, webapi, worker, class library

Install only what you need:

PackageWhen to add it
ReplStarting point for most apps
Repl.McpExposing commands to AI agents via MCP
Repl.SpectreRich terminal output with Spectre.Console
Repl.WebSocketHosting sessions over WebSocket
Repl.TelnetHosting sessions over Telnet
Repl.TestingTesting your command surface
Terminal window
dotnet add package Repl
dotnet add package Repl.Mcp # optional: MCP support
dotnet add package Repl.Spectre # optional: rich output
dotnet add package Repl.Testing # optional: test harness

Your First App