tgrep

tgrep 1.2.3

Trigram-indexed grep with a client/server architecture for fast regex search.

Download for Windows

About tgrep

tgrep is a trigram-indexed grep with a client/server architecture for fast regex search in large codebases. It pre-builds a trigram index so a search only touches the files that could match, and a background server watches for file changes so subsequent searches stay fast. It is integrated into GitHub Copilot CLI to power fast grep searches across large repositories.

What's new in 1.2.3

What's Changed
- chore(deps): bump the github-actions group with 2 updates by @dependabot[bot] in https://github.com/microsoft/tgrep/pull/208
- fix(serve): bound request-line size in handle_connection to prevent local DoS by @msftsiwei in https://github.com/microsoft/tgrep/pull/209
- Prepare v1.2.3 with native watcher, reclamation, and query fixes by @shengyfu in https://github.com/microsoft/tgrep/pull/207
Full Changelog: https://github.com/microsoft/tgrep/compare/v1.2.2...v1.2.3

Full release notes »

Technical details

PublisherMicrosoft
AuthorMicrosoft Corporation
Version1.2.3
Release date2026-10-18
LicenseMIT
Installer typezip
Architecturex64, arm64
Package IDMicrosoft.tgrep

Install tgrep from the command line

Install with Windows Package Manager
winget install --id=Microsoft.tgrep -e
Update to the latest version
winget upgrade --id=Microsoft.tgrep -e
Uninstall
winget uninstall --id=Microsoft.tgrep -e

tgrep adds this command to the command line: tgrep.

code-searchgrepregexsearch

Frequently asked questions

Is tgrep free?

Yes. tgrep is free and open-source software released under the MIT license.

What is the latest version of tgrep?

The latest version is 1.2.3, released on Oct 18, 2026.

Is it safe to download tgrep?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 54b422eac2a2fc541243a517dd016df08ffdf1ceb99769d91a783aeebc5101ad.

Which Windows versions does tgrep support?

tgrep runs on Windows and is available for 64-bit (x64), ARM64 systems.

How do I uninstall tgrep?

Open Settings › Apps › Installed apps, find tgrep and select Uninstall. From the command line, run winget uninstall --id=Microsoft.tgrep -e.

Is there a portable version of tgrep?

Yes. tgrep is available as a portable ZIP archive (tgrep-v1.2.3-x86_64-pc-windows-msvc.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.