VM INSTANCE // ripgrep · demoshell/tui:ripgrep
◍ PRIVATE VM
ripgrep running in your browser
downloads up to ≈ 38.1 MB
This VM is emulated in your browser, so software can feel slower here than it does on a real machine.

ripgrep searches a whole directory tree by regex and tells you how long it took. It skips what .gitignore lists and what is binary without being asked, which is most of the reason it is quick.

The other reason is the engine: Rust's regex library with SIMD acceleration, parallel directory walking, and memory maps where they help. It searches by file type (-t py), reads compressed files, handles Unicode properly, and prints the same output format as grep, so it drops into scripts and editor integrations that expected grep.

The demo opens git's own source — 4,523 files it will search and 84 more it will skip. Try rg the_repository --stats, then -t c to search only the C files, -C 2 for the lines around each hit, -l for file names only, and --no-ignore to look inside the one file .gitignore has been hiding. The VM is private to your browser tab; nothing you type leaves it.

Commands to try

rg the_repository --statshow many matches in how many files, and how long it took
rg -t c 'struct index_state'only the C files
rg -C 2 unlink_or_warntwo lines of context either side of each hit
rg -l zlibjust the file names
rg --no-ignore secret_keyinclude the files .gitignore hides
rg the_repository -r THE_REPO sequencer.cpreview a replacement

Install ripgrep on your own machine

Alpineapk add ripgrep
Debian / Ubuntuapt install ripgrep
macOS (Homebrew)brew install ripgrep
cargocargo install ripgrep

This VM was last built on Sep 2, 2026. How Demoshell demos work →

Similar tools you can try here

  • fzf — The command-line fuzzy finder. Type a few letters in any order to pick from files, history or any list, live in a private VM.
  • Meilisearch — A search engine with typo tolerance, prefix matching and facets on by default, over 31,944 movies in a private VM.
grepregexfastrust
Request changes or removal

This demo of ripgrep (demoshell/tui:ripgrep) was built by Demoshell and is not affiliated with the project. Tell us what to change, or ask us to take it down.