GitHub Repository Search CLI Extension Guide

Choose a repository search, code search, starred-repository, or local clone helper without bouncing between browser tabs.

9 Search extensions 7 active Reviewed 2026-06-08

Start Here

Use the table as a quick chooser. The goal is not to replace GitHub search; it is to pick the first terminal workflow for the thing you are trying to find.

Starter Pack

Inspect the workflow-specific install bundle, then install only the extensions that match your workflow. Do not pipe install bundles directly into a shell.

curl -fsSL https://sjh9714.github.io/gh-extension-atlas/install/starter-packs/search-and-discovery.txt
gh extension install gennaro-tedesco/gh-s
gh extension install k1LoW/gh-grep
gh extension install LangLangBart/gh-find-code
If you need to... Start with Why Status Install
Search repositories interactively s
Interactively search GitHub repositories.
The best first stop when repository discovery is the main job. active gh extension install gennaro-tedesco/gh-s
Search repository content without cloning grep
Print matching lines from repositories through the GitHub API.
Good when you want API-backed content search from the terminal. active gh extension install k1LoW/gh-grep
Search GitHub code with fzf find-code
Search GitHub code with fzf.
Useful when interactive code search matters more than repository search. active gh extension install LangLangBart/gh-find-code
Search your starred repositories stars
Search starred repositories from GitHub CLI.
A focused active option for treating stars as a personal knowledge base. active gh extension install Link-/gh-stars
Browse a large starred-repository collection user-stars
Interactively browse and search starred repositories.
Useful for personal star libraries, but verify compatibility because it is stale. stale gh extension install korosuke613/gh-user-stars
Search and clone into a local repo workspace q
Clone GitHub repositories using fzf and ghq.
Best when discovery should lead directly into local repository organization. active gh extension install kawarimidoll/gh-q
Explore a repository before cloning it repo-explore
Interactively explore a repository without cloning it.
A narrow explorer workflow, but verify compatibility because it is stale. stale gh extension install samcoe/gh-repo-explore

First Picks

s Interactive repository search Finding repositories quickly from a terminal workflow. gh extension install gennaro-tedesco/gh-s
grep API-backed repository grep Searching repository content without cloning. gh extension install k1LoW/gh-grep
find-code Interactive code search Developers who want interactive code search from the terminal. gh extension install LangLangBart/gh-find-code

Search Fit

Use repository search when you need a project, code search when you need a line, and starred-repository search when you are mining your own saved tools.

stars Starred repository search Users who treat GitHub stars as a personal knowledge base. gh extension install Link-/gh-stars
q Search plus local cloning Users who organize local repositories with ghq. gh extension install kawarimidoll/gh-q
f Compact fuzzy GitHub workflow Users who want fast fuzzy GitHub navigation. gh extension install gennaro-tedesco/gh-f

Freshness Notes

The atlas is a reviewed snapshot, not a live ranking. Recheck upstream repositories before adopting a search extension, especially when it depends on fzf, ghq, GitHub API rate limits, or older search endpoints.