Development4 min read

Show HN: Run – a CLI universal code runner I built while learning Rust

Discover Run, a new CLI tool designed for executing code snippets across multiple programming languages. Built with Rust, this utility simplifies the process of running code directly from the command line.

moderator

moderator

Published 10/5/2025
Show HN: Run – a CLI universal code runner I built while learning Rust

A developer learning Rust has created Run, a universal command-line interface (CLI) for running code in various programming languages. This tool is designed to be lightweight and minimal in dependencies, allowing users to execute one-off code snippets via CLI flags, run files, read and execute piped stdin, and switch between interactive language-specific REPLs.

Run supports both interpreted languages like Python, JavaScript, and Ruby, as well as compiled languages such as Rust, Go, and C/C++. It intelligently detects the programming language based on flags or file extensions, compiles temporary files for compiled languages, and offers a unified REPL experience with commands like :help, :lang, and :quit.

To install Run, users can execute 'cargo install run-kit' or download it from the platform-specific releases on GitHub. The developer is seeking feedback on usability, UX of the REPL, edge cases for input piping, security considerations, and packaging for cross-platform distribution.

RustCLIProgramming

Related articles

Building beyond the browser: Keeley Hammond on Electron, open source, and the future of maintainership
Development

Building beyond the browser: Keeley Hammond on Electron, open source, and the future of maintainership

In a recent episode of the GitHub Podcast, Keeley Hammond discusses the intricacies of maintaining Electron, one of the web's most popular frameworks. She shares insights on open source contributions and the future of software maintainership.

10/5/20254 min read
Spec-driven development: Using Markdown as a programming language when building with AI
Development

Spec-driven development: Using Markdown as a programming language when building with AI

Discover how using Markdown as a programming language can enhance your development process. This approach, combined with GitHub Copilot, streamlines coding and improves specification clarity.

10/5/20254 min read
How GitHub protects developers from copyright enforcement overreach
Development

How GitHub protects developers from copyright enforcement overreach

In light of the U.S. Supreme Court case Cox v. Sony, GitHub emphasizes its commitment to protecting developers from excessive copyright enforcement. This post outlines updates to GitHub's Transparency Center and Acceptable Use Policies.

10/5/20254 min read