rgx
Ripgrep-compatible CLI that searches text inside PDFs, Office docs, archives, email and model files.
Tested on Linux
Use it
Linux x86_64
Download Linux tarball
curl -fsSL https://github.com/danalec/rgx/releases/download/rgx-v0.1.1/rgx-v0.1.1-x86_64-linux-gnu.tar.gz -o /tmp/rgx.tar.gzExtract and install rgx binary to ~/.local/bin
mkdir -p ~/.local/bin && tar xzf /tmp/rgx.tar.gz -C /tmp && cp /tmp/rgx-v0.1.1-x86_64-linux-gnu/rgx ~/.local/bin/rgx && chmod +x ~/.local/bin/rgx
Where the README and reality differ
- README: irm https://raw.githubusercontent.com/danalec/rgx/main/install.ps1 | iex
What worked: download rgx-v0.1.1-x86_64-linux-gnu.tar.gz from releases page and copy rgx binary to ~/.local/bin
Check that it works
cp /tmp/rgx-v0.1.1-x86_64-linux-gnu/rgx ~/.local/bin/rgx && chmod +x ~/.local/bin/rgx && export PATH="$HOME/.local/bin:$PATH" && rgx --versionThe output should contain “rgx 0.1.1”.
First thing to try
mkdir -p rgxdemo/src && printf 'fn main() {\n println!("hello rgx");\n}\n' > rgxdemo/src/main.rs && printf 'hello plain text marker PLAINMARKER123\n' > rgxdemo/hello.txt && python3 -c "import zipfile; z=zipfile.ZipFile('rgxdemo/bundle.zip','w'); z.writestr('inner.txt','invoice total secret ARCHIVEMARKER987 inside zip\n'); z.writestr('script.py','print(\"filterme lang python PYFILTERMARKER456\")\n'); z.close(); print('zip done')" && ls -R rgxdemorgx "fn main" -t rust --sort path .Run rgx "<pattern>" <folder> to search a folder, including files inside archives and documents.
What it does
- Search inside PDFs, Office documents and archivesTested
How to use it
- Run
rgx "<your text>" <folder>to search all files in a folder, including archives. - Matches inside archives show as
<archive>!<inner file>followed by the matching line.
- Run
- Run searches with ripgrep-style patterns and flagsTested
How to use it
- Run
rgx "<pattern>" -t rust --sort path .to search Rust files in the current folder, sorted by path.
- Run
- Filter searches by file metadataTested
How to use it
- Run
rgx "<your text>" --filter 'container:zip AND lang:python' <folder>to search only Python files inside zip archives.
- Run
- Offer search through an MCP serverNot shown working
How far pickfit got
Linux x86_64
- Installs
- Starts
- 3 of 4 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- search inside PDFs and .docx for text
- search inside archives for text
- search inside an LLM checkpoint
- search plain source code with ripgrep flags
An alternative to rga and ripgrep.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 30 Oct 2026
- Version 0.1.1
Differences the test machine hit
- README: cargo install rgx-search
In the test: skipped cargo install rgx-search: box has no Rust toolchain and must not install one