Choosing a ripgrep build for Windows
Match the archive to your PC architecture and identify the executable inside the official release.
The Windows release includes several assets. Start with the processor listed by Windows, then verify that the selected executable can search a file.
Before you begin
Windows, PowerShell, and a small folder where you can create a text file.
Step-by-step guide
Read your system type
Open Settings → System → About. For a 64-bit Intel or AMD processor, look for x86_64 and windows in the asset name. Check the publisher’s release asset list for your system if it differs.
Extract the matching archive
Download the matching Windows ZIP, extract it, and open PowerShell in the directory that contains rg.exe. Run .\rg.exe --version and confirm the program reports its version.
Search a known phrase
In that directory, create a file named notes.txt containing the word sample. Run .\rg.exe -n sample notes.txt. The number before the match identifies the line containing your text.
Check the result
The executable prints its version and returns the matching line from notes.txt.
Troubleshooting
If PowerShell cannot find the command, check that the current directory contains rg.exe and include the .\ prefix when launching it.
Downloads
Verify SHA-256
f418ae83e63046a94a7b5f3a44bf3a169f66e689164856ecee02547131c73931