NetPad vNext

Tareq Imbasher · TareqImbasher.NetPad.vNext

A cross-platform C# editor and playground.

NetPad is a C# playground that lets you run C# code instantly, without the hassle of creating and managing projects. Open NetPad, start coding, hit Run, and see your output immediately. It's that simple. - Prototyping and Testing: Quickly prototype and test code snippets before incorporating them into your projects. - Data Visualization: Visualize data interactively for better insights and analysis. - Database Queries: Query databases using LINQ or SQL effortlessly. - Learn and Experiment: Experiment with new C# features or start learning C# in an intuitive and accessible environment. - Utility Scripts: Create and save your own utility or administration scripts for repeated use.

winget install --id TareqImbasher.NetPad.vNext --exact --source winget

Latest 0.12.0

Release Notes

If you like NetPad, please star the repo ⭐ and consider sponsoring FOSS! This release brings performance improvements, a major CLI update, new features for managing data connections, and a large number of bug fixes and stability improvements. 🎯 A special thanks to @antonkesy and @wuuer for their contributions in this release. What's New 🚀 Database Server Connections You can now add a database server to the connections list and select one or more databases from that server. All databases under a server share the same connection and scaffolding options, so you only configure things once. Server connections are supported for SQL Server, PostgreSQL, MySQL, and MariaDB. Script Performance Improvements Script startup and re-run speed was improved:

  • Compilation results are cached so unchanged re-runs skip compilation entirely.
  • Nuget dependency graphs and script dependencies are cached so resolution only occurs when needed.
  • Framework assembly dependency cache is pre-warmed on a background thread at startup.
  • Other similar optimizations for quicker re-runs. .NET SDK Detection Improvements NetPad now discovers all valid .NET installations on your system (user settings, environment variables, user-level, system-level, PATH) and aggregates SDKs and runtimes from each. Previously, only the first valid installation was used. When running a script, the correct dotnet executable is resolved based on which installation contains the target framework's SDK. User Interface
  • Statusbar background color now changes to indicate script status (running, error, etc.), with unified status colors throughout the app.
  • A context menu was added to the scripts explorer sidebar.
  • Added separators between editor tabs and added tree nesting indicators in the explorer pane for better visual hierarchy.
  • When text is selected in the editor, the statusbar now shows the number of selected chars (or lines).
  • Style run/stop buttons with colored tints and flatten save/properties to icon buttons.
  • Change open folder icons in scripts explorer to blue to indicate expanded state.
  • Increase global border-radius for a softer look across all components.
  • Better background colors for input controls.
  • Add toolbar dividers to group action icons where needed.
  • Reduced prominence of toolbar labels (SDK, Kind, etc.) for a cleaner look.
  • Add more contrast to pane toolbar background.
  • Switch package reference buttons to outline style for less visual noise.
  • Window size and position are now remembered across Tauri app restarts (#370). [!NOTE] The Styling page of the wiki is updated with the latest styles if you want to override anything. OmniSharp / IntelliSense OmniSharp stability was improved:
  • Requests to OmniSharp are queued and wait for OmniSharp to finish its internal initialization to prevent broken language server features when typing in scripts before OmniSharp is finished loading.
  • OmniSharp now detects process crashes and auto-restarts. NetPad CLI (npad) v0.2.0 The CLI tool received a major update with many new commands and usability improvements. See the CLI wiki for more info and usage details. New commands:
  • new: Create .netpad scripts or plain .cs files with options for kind, SDK, connection, and more
  • show: Inspect a script's metadata and source code (renamed from cat, BREAKING CHANGE)
  • logs show/tail/rm/clear: View, follow, and manage log files
  • settings show/edit: View settings as a table or JSON, or open in default editor New features:
  • run is now the default command: npad myscript works without typing run
  • Stdin piping: echo 'Console.WriteLine("hi")' | npad
  • --eval (renamed from --code): Run inline C# from the command line, BREAKING CHANGE
  • --format json: NDJSON output for piping to jq and other tools
  • --kind option on run: Override a script's kind at runtime
  • Interactive script picker: Prompts for selection when multiple scripts match
  • Script exit codes: Propagates meaningful exit codes (0=success, 1=runtime failure, 2=compilation failure, 130=cancelled)
  • Short aliases: -e, -s, -c, -O, -b, -f, -m, -v, -k and command aliases ( ls, log)
  • Various TUI improvements and fixes Install or update via: dotnet tool install -g netpad.cli dotnet tool update -g netpad.cli Coming Soon: NetPad MCP Server A Model Context Protocol (MCP) server for NetPad is in the works and nearly complete. It will let AI assistants (like Claude Code) and other MCP clients to create, run, and manage scripts directly through NetPad. Stay tuned! Build & Release
  • Added Linux ARM64 and Windows ARM64 builds for both Electron and Tauri.
  • Support for alpha/beta pre-release version names in app update checks.
  • Unified release workflow: a single release.yml replaces the old pack-electron.yml and pack-tauri.yml with support for alpha/beta pre-releases. Fixes 🐛
  • Fix The filename, directory name, or volume label syntax is incorrect error (#390). Thanks to @wuuer.
  • Fix NuGet dependency resolution issues including native library resolution (#350).
  • Fix script counts in the explorer sidebar.
  • Fix using scale for precision in database structure column details.
  • Fix OmniSharp bugs related to changing a script's SDK and finding installed SDK locations.
  • Fix script-host not loading the correct SDK in release builds.
  • Fix multiple NetPad instances sharing temp directories causing IOExceptions: temp directories are now scoped per process.
  • Fix .NET backend not stopping gracefully on Windows when using the Tauri app.
  • Fix memory leaks and race conditions in several areas.
  • Fix duplicate script save overwriting existing scripts in web shell.
  • Fix unrelated script runs to serialize against each other. Support ❤️ If you find NetPad useful, please consider sponsoring the project to help keep it free and open-source! And if you haven't already, a ⭐ on the repo is always appreciated, thank you! A special thanks to all my sponsors. Your support is greatly appreciated and helps keep this project growing! New Contributors
  • @antonkesy made their first contribution in https://github.com/tareqimbasher/NetPad/pull/414
  • @wuuer made their first contribution in https://github.com/tareqimbasher/NetPad/pull/390 Full Changelog: https://github.com/tareqimbasher/NetPad/compare/v0.11.0...v0.12.0

Installer types: nullsoft , wix

Architecture Scope Type Download SHA256
x64 user nullsoft Download 470EC52F1134A957623F2881E495222EF6DF5BF8384783AAC68A9A3A8CA4A737
x64 machine wix Download C866F30C751898D0695A7ED4E1EFDDDEEAD193B5AC32D382FAB584A33C06C0CA

Details

Homepage
https://github.com/tareqimbasher/NetPad
License
MIT
Publisher
Tareq Imbasher
Support
https://github.com/tareqimbasher/NetPad/issues
Copyright
Copyright (c) 2026 Tareq Imbasher

Tags

.netc#codecodingcsharpdevelopdevelopmentdotneteditorplaygroundprogramming

Older versions (5)

0.11.0
Architecture Scope Type Download SHA256
x64 user nullsoft Download 1AB058E9FE0D54396A202F874C5B17F74C75BBDDDDF62FAF6A717DD350FC36C2
x64 machine wix Download 673C914401703ED96025DEABCBFC1F10E0C77E73A597E314B6EAB9414217E701
0.10.0
Architecture Scope Type Download SHA256
x64 user nullsoft Download BE93752331B454BCBC238816609B34452C46F494E32461C735D0EDBFF8F1AA8D
x64 machine wix Download F7AF5E2585354EB6BEDAD558522D39BEFA9A4A75DD299D244415B78F7C53555E
0.9.1
Architecture Scope Type Download SHA256
x64 user nullsoft Download A73E753DEB2982E4E9EC89F36CA4F67175D7E16D0DCC951BE2A13879FC65A563
x64 machine wix Download 382144E5C355EDAB989F0E5BB79AEFBE92DAE414BC578A344E5F128D3190F68F
0.9.0
Architecture Scope Type Download SHA256
x64 user nullsoft Download 4C0EEA33EE3D9DDC676A40BE491EA4ECE7141B6373B2DB7A53DFD14543ED4D99
x64 machine wix Download AACEB772901242248B64ED6A186D922EDB60BB0A9AAF3A705C6E8CED9F6EA68C
0.8.0
Architecture Scope Type Download SHA256
x64 user nullsoft Download C93125CC992D3DE10603AB9761883A21E6EA49D62A8D483833E216E9F70B9AAD
x64 machine wix Download BA4E3B5E105BDEB50E2FB7C73520C4C1B0A6249488AE1D163FBA3E03A470437A