# codespelunker

Command line code search.

Source: [Console review](<https://console.dev/tools/codespelunker>)

Website: [https://github.com/boyter/cs](<https://github.com/boyter/cs>)

Profile updated: 2026-10-16

Category: [Terminal utilities](<https://console.dev/tools/categories/terminal-terminal-utilities>)

## Supported tech stack

Research checked: 2026-10-11

### Runs on

- Linux (Operating system)
- Windows (Operating system)
- macOS (Operating system)

### Written in

- Go (Language)

Source: [Research source](<https://github.com/boyter/cs>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

Go installation and release binaries for Windows, Linux and macOS are documented. Language search filters do not imply language SDKs.

## Console’s review — 2023-06-15

Reviewed: 2023-06-15

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/codespelunker#review_c74758e8374f3f3e1ca5308f841cacec50ca7b8ecf067219ecd676c5ec5eb815>)

### What we like

Static (Go) binary to search code in the current directory. Default mode is to launch a TUI, but the CLI can also take parameters and output the results. Supports exact matching, fuzzy matching, negations, and regex. Can output in text, JSON, or vimgrep. Understands .gitignore.

### Tradeoffs

No installable packages for Mac (binaries aren’t signed, which means a bit of extra work to pass the macOS security). Designed to just work rather than for maximum performance (but it’s still very fast).

This review reflects Console’s assessment at publication on 2023-06-15. Features and limitations may have changed since the review date.

## Is codespelunker a fit?

Based on [Console’s review published on 2023-06-15](<https://console.dev/tools/codespelunker#review_c74758e8374f3f3e1ca5308f841cacec50ca7b8ecf067219ecd676c5ec5eb815>).

Summary updated: 2026-10-16

### Who it’s for

Developers who need to search code in the current directory

### Why consider it

It supports various matching modes and output formats

### Keep in mind

It has limited installability on Mac due to unsigned binaries

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
