https://www.npmjs.com/package/@vscode/ripgrep
You can find the rg binary in the VS installation (at least, I can on Windows at my place of employment).
https://www.npmjs.com/package/@vscode/ripgrep