rhun
Version 0.15.1 · Linux and macOS · MIT

A small, fast code editor, written in assembly

rhun is a tiny code editor for Linux and macOS, built for reading, editing and running code beside your coding agents.

  • < 700 KB binary
  • 127 languages
  • 39 themes
  • Free and open source
$ curl -fsSL https://github.com/vshvedov/rhun/releases/latest/download/install.sh | sh

Linux x86-64 or macOS on Apple silicon. No root needed; rhun keeps itself up to date.

rhun on Linux with the Rhun Dark theme: the file explorer, an assembly file with syntax highlighting, and the agents panel showing a Claude Code session

Why rhun

When coding agents do the heavy lifting, you don't need everything VS Code or Zed carries. You need to read and edit code, run commands, find files and see what changed. rhun does that, instantly.

Everything you need, nothing you don't

Every screenshot here is rhun running on Linux. On a Mac, Command works as Ctrl.

Editing that keeps up

Tabs, syntax highlighting, find and replace Ctrl H, find in files, word wrap and an optional Vim mode.

Find and replace in rhun: the replace bar over an assembly file, with the matches highlighted
Find and replace.

A terminal beside the code

Open a shell with Ctrl ` for builds, tests or a coding agent: 24-bit color, mouse and full-screen programs.

The terminal panel in rhun: building rhun, printing its version and the git log, under the editor
rhun building itself: the binary is 690,928 bytes.

Git, built in

Changed lines in the gutter, diffs against HEAD, and every branch's history as a graph Ctrl Shift G.

Git history in rhun: the commit graph with tags and the uncommitted changes
A diff in rhun: the changed line in red and green with old and new line numbers
History and changes.

Go to File Ctrl P, the command palette Ctrl Shift P and find in files Ctrl Shift F, all fuzzy and instant.

Go to File in rhun: a fuzzy file search listing files that match edit
Go to File.
The command palette in rhun listing the toggle commands with their shortcuts
Command palette.
Find in files in rhun: matches across the project with their files and lines
Find in files.

Watch your agents work

The agents panel follows the project's Claude Code and Codex sessions live Ctrl Shift A.

The agents panel in rhun following a Codex session: the request, the agent's replies and its tool calls
A Codex session, live.

Vim mode, if you want it

Normal, insert and visual modes, operators, text objects, counts, . and : commands. Off by default.

Vim mode in rhun: a block cursor in normal mode and a substitute command typed on the command line
Normal mode and the command line.

Settings you can read

A settings page and a plain config file, both applied while rhun runs.

The settings page in rhun: theme, interface zoom, font and panel options
Settings.

Images in a tab

PNG, JPEG, GIF, BMP, ICO, QOI, PNM and TGA, with zoom and pan.

An image open in a rhun tab: the rhun social card, with its size and format in the status bar
Image preview.

39 themes, dark and light

Switch with Ctrl Shift T, follow Omarchy, or write your own in three lines.

rhun with the Rhun Dark theme
Rhun Dark
rhun with the Rhun Light theme
Rhun Light

All built-in themes: Ayu Light, Catppuccin Latte, Catppuccin Mocha, Dracula, Elflord Dark, Elflord Light, Ethereal, Everforest, Flexoki Light, GitHub Dark, GitHub Light, Gruvbox Dark, Gruvbox Light, Hackerman, Kanagawa, Last Horizon, Lumon, Lupine, Matte Black, Miasma, Min Dark, Min Light, Monokai, Nord, One Dark, One Light, Osaka Jade, Retro 82, Rhun Dark, Rhun Light, Ristretto, Rosé Pine, Rosé Pine Dawn, Solarized Dark, Solarized Light, Solitude, Tokyo Night, Vantablack, White.

127 languages and file formats

Each grammar is a small text file; add your own in ~/.config/rhun/syntax/.

Built in: Ada, Apache, AppleScript, AsciiDoc, Assembly, Astro, AWK, Batch, BibTeX, Blade, C, C#, C++, Cap'n Proto, Clojure, CMake, COBOL, Crontab, Crystal, CSS, CUDA, CUE, D, Dart, Dhall, Diff, Dockerfile, dotenv, EJS, Elixir, Elm, ERB, Erlang, F#, Fish, Fortran, Git attributes, Git commit, Gleam, GLSL, Go, GraphQL, Graphviz, Groovy, HAML, Handlebars, Haskell, Haxe, HCL, HTML, HTTP, Idris, Ignore files, INI, Janet, Java, JavaScript, Jinja, JSON, Jsonnet, Julia, Just, KDL, Kotlin, LaTeX, Lean, Liquid, Lua, Makefile, Markdown, MATLAB, Mermaid, Meson, Mojo, Nginx, Nim, Ninja, Nix, Objective-C, OCaml, Odin, Org, Pascal, Perl, PHP, Pkl, PlantUML, PowerShell, Prisma, Prolog, Properties, Protocol Buffers, Pug, Puppet, PureScript, Python, R, Raku, Razor, Rego, reStructuredText, RON, Ruby, Rust, Scala, Shell, Slim, Solidity, SQL, SSH config, Starlark, Swift, Tcl, Thrift, TOML, Twig, TypeScript, Typst, V, Vala, Verilog, VHDL, Vim script, Visual Basic, XML, YAML and Zig.

Small on purpose

Written in x86-64 assembly. rhun draws every pixel itself and speaks Wayland, X11 or AppKit directly.

< 700 KB
The whole editor on Linux
0
Runtime dependencies
~1 ms
To draw a 2560 × 1600 frame
1 command
To install; it updates itself

Install rhun

$ curl -fsSL https://github.com/vshvedov/rhun/releases/latest/download/install.sh | sh
$ wget -qO- https://github.com/vshvedov/rhun/releases/latest/download/install.sh | sh

On Linux rhun goes to ~/.local with a desktop entry; on macOS to /Applications. Either way rhun starts it from a terminal. The installer checks SHA-256 checksums (and the signature on macOS). Uninstall with sh -s -- --uninstall. More in the guide.

Questions

What is rhun?

A small, very fast code editor for Linux and macOS, written in assembly, with a built-in terminal, Git, fuzzy search and an agents panel for Claude Code and Codex.

Is rhun free?

Yes. It is free and open source under the MIT license.

Which systems does rhun run on?

Linux on x86-64 (Wayland or X11) and macOS on Apple silicon. There is no Windows version.

How do I install rhun?

Run curl -fsSL https://github.com/vshvedov/rhun/releases/latest/download/install.sh | sh. No root needed.

How does rhun update?

It checks GitHub once a day in the background. The status bar offers a new version, installs it and restarts into it.

How do I uninstall rhun?

Run the same installer with sh -s -- --uninstall. Your settings in ~/.config/rhun stay.

Does rhun work with Claude Code and Codex?

Yes. Run them in the built-in terminal; the agents panel follows their sessions live.

Why is rhun written in assembly?

To stay small and fast: one static binary under 700 KB on Linux, with no libc, toolkit or runtime.

Try it in ten seconds

$ curl -fsSL https://github.com/vshvedov/rhun/releases/latest/download/install.sh | sh

GitHub · Releases · Guide