C# scripts that run the same everywhere.

Pin your packages, lock them, and run. The script that works on your machine runs the same way on a teammate’s laptop, in CI and on the server.

Free. Each includes the editor and the CLI. Checksums and the CLI on its own, or all releases.

RunChecknet10.0Locked, 1 pinned
report.cs
ResultsConsoleProblemsRunning…Finished in 1.2 s, exit code 0
Big orders
IdCustomerTotalPlaced
1042Contoso1,250.003 days ago
1057Fabrikam740.501 week ago
1063Northwind2,980.005 weeks ago

Write it, lock it, run it

report.cs

A plain .cs file. Every package is pinned to an exact version.

#:package [email protected]

using Humanizer;

var orders = new[]
{
    new Order(1042, "Contoso", 1250.00m, DateTime.Today.AddDays(-3)),
    new Order(1057, "Fabrikam", 740.50m, DateTime.Today.AddDays(-12)),
    new Order(1063, "Northwind", 2980.00m, DateTime.Today.AddDays(-40)),
};

orders.Where(o => o.Total > 500)
      .Select(o => new { o.Id, o.Customer, o.Total, Placed = (DateTime.Now - o.Placed).Humanize() + " ago" })
      .Dump("Big orders");

record Order(int Id, string Customer, decimal Total, DateTime Placed);

What it does

Same everywhere

Pinned packages
Every package has an exact version, like #:package [email protected]. A script without one is refused.
Lock files
Indirect packages too, with content hashes. Another machine restores exactly that, or stops and says what’s missing.
Plain .cs files
The .NET 10 file-based app format. Scripts also run with dotnet run and grow into full projects.
Ship it
runthat export writes one file with the lock inside. runthat publish builds a folder that needs no package feeds.

Fast to work in

A desktop editor
Edit, run and debug with breakpoints. Search packages, see the lock, export and publish from one window.
Fast database access
Named connections stay out of scripts. A pooled connection per task, queries in parallel. ADO.NET, Dapper or EF Core.
AI agent support
A built-in MCP server lets agents read, lock, run and debug your scripts, only in the folders you choose, with secrets hidden.
Bring your queries
Import your existing queries. runthat turns them into scripts and pins the package versions you already use.

Free on your own machine

The CLI, the editor, the debugger, the database tools and AI agent support. Team and Runner come later.