Ripgrep 14 Released

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    The shell function from this comment works pretty well for me:

  • sd

    Intuitive find & replace CLI (sed alternative)

    I wanted to like sd but it doesn't support my main use case of recursive search/replace. Imagine every time you wanted to grep some files you had to build a find+xargs+rg pipeline... it just takes me out of the flow too much. I'm glad people are posting other options here, I'm looking forward to trying them.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • ast-grep

    ⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

    Thanks for the pointer. There are definitely a few tools that have explored the idea of searching the AST of code. Semgrep seems to do that, as does a tool called ast-grep [0].

    Both of them are sort of doing the opposite of my tool. They are letting you specify your search as a chunk of code/AST.

    My tool let's you grep a regex as usual, but shows you the matches in a helpful AST aware way.


  • amber

    A code search / replace tool (by dalance)

    Recently I have also used [ambr]( which can do both search (ambs) and replace (ambr) recursively in your codebase. The only problem as of yet is that it does not support globbing so I cannot filter on certain filetypes only.

  • fastmod

    A fast partial replacement for the codemod tool

  • xe

    simple xargs and apply replacement

    I’ll also throw in Leah Neukirche ‘s xe as a better alternative to xargs:

  • grep-ast

    Grep source code and see useful code context about matching lines (by paul-gauthier)


    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts