Skip to content
Will Fuqua edited this page Jun 21, 2026 · 3 revisions

C# REPL

C# REPL is a cross-platform command-line REPL for the rapid experimentation and exploration of C#. It evaluates C# as you type, with IntelliSense, NuGet and project references, and rich object output.

C# REPL animated demo

Install it as a .NET global tool and run it:

dotnet tool install -g csharprepl
csharprepl

Documentation

At a glance

  • Syntax highlighting and IntelliSense with documentation and overloads
  • Automatic formatting of typed input
  • Install NuGet packages and reference local projects, solutions, and assemblies
  • Dump and explore objects with rich formatting
  • Inspect a running .NET application, evaluate code against its live state, and replace live methods
  • Navigate to source via Source Link
  • IL disassembly and lowered C# decompilation (Debug and Release)
  • AI code completion via OpenAI, Anthropic, Gemini, Grok, DeepSeek, Mistral/Codestral, or any OpenAI-compatible provider (bring your own API key)

Clone this wiki locally