Ferret.Tool 0.4.0

dotnet tool install --global Ferret.Tool --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Ferret.Tool --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Ferret.Tool&version=0.4.0
                    
nuke :add-package Ferret.Tool --version 0.4.0
                    

Ferret.Tool

ferret: a drop-in rg for plain searches that also ranks files by keyword (BM25), meaning (semantic) or both (hybrid). It gives the most relevant files first, with bounded output, which suits docs, notes and LLM agents.

Install

dotnet tool install --global Ferret.Tool

Use

ferret "pattern" src            # like rg
ferret --lex "query terms"      # ranked, BM25
ferret --sem "a question"       # ranked, by meaning (downloads a small model on first use)
ferret --hybrid "query"         # both, fused
ferret --index --hybrid .       # build the indexes ahead of searching

Ranked modes also take --limit, --scores, --jsonl and --timings. ferret --model download fetches the semantic model so --sem can run offline.

For .NET code, use the Ferret library.

Docs and source: https://github.com/dburriss/ferret

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.4.0 106 11/7/2026
0.3.0 111 11/1/2026
0.2.0 107 11/1/2026
0.1.0 106 11/1/2026

The lexical index is now one file per search root, `lexical/<hash>.idx` in the cache directory, instead of a single `lexical.idx` for every tree. Searching one project no longer loads or rewrites another's entries. Existing indexes are rebuilt on first use; `--clean` (or `FerretClient.Clean`) removes the old `lexical.idx`.