Alternatives to peco

An interactive command-line filter that narrows piped input as you type and returns the selection. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as peco.

  • fzf

    A fuzzy filter for any list: files, command history, processes, branches, anything you can pipe into it.

    fzf filters any piped list like peco but adds shell integration for history and file search, preview windows, Vim plugins and more built-in integrations.

  • fzy

    A fast, simple fuzzy text selector for the terminal with an advanced scoring algorithm.

    fzy is a small C fuzzy selector with a documented scoring algorithm aimed at ranking the intended result first, with fewer features and infrequent releases.

  • Television

    Search files and other data through a terminal fuzzy finder.

    Television is a terminal fuzzy finder built around configurable channels for different data sources, rather than only filtering whatever is piped into it.

  • Gum

    Drop-in prompts, menus, spinners and formatting for shell scripts, so a bash script can have a decent interface.

    Gum includes a fuzzy filter among menus, prompts and spinners for shell scripts, making it broader in scope but an extra dependency that needs a real terminal.

Also worth comparing

These listings name peco as their own alternative, so the relationship runs both ways.

  • sig

    Search streaming text interactively in your terminal.

    peco narrows piped input interactively and returns the selection, with fewer integrations and no stated support for rerunning a source command.

Similar software

Related functionality, not a direct replacement.