5 Command-Line Tools That Make Developers More Productive: Oh My Zsh, fzf, ripgrep, bat and tmux
Modern software development is not just about writing clean code or choosing the right programming language. A significant part of a developer’s day is spent navigating directories, searching through files, managing multiple terminal sessions, reviewing command outputs and switching between different development environments. These seemingly small activities can gradually consume hours of valuable working time. While graphical interfaces and sophisticated code editors have made development more accessible, the command line remains one of the most powerful environments for getting work done efficiently. The right collection of terminal tools can turn an ordinary command-line workflow into a faster, more organised and considerably more enjoyable experience.
For developers who spend a considerable amount of time working with Linux, macOS or terminal-based development environments, productivity often comes down to reducing repetitive actions. Instead of repeatedly typing lengthy commands, manually navigating folders or searching through hundreds of files, specialised command-line utilities can simplify these everyday tasks. Some tools improve the appearance of the terminal, others make file discovery almost instantaneous, while a few allow developers to manage multiple processes without constantly opening new windows.
Among the many utilities available to developers, Oh My Zsh, fzf, ripgrep, bat and tmux stand out for their practical value. Each solves a different problem, but together they create a streamlined command-line environment that makes everyday development tasks significantly more manageable.
A terminal is often the first place developers visit when starting a coding session, but the default shell experience can feel surprisingly limited. Basic commands work perfectly well, yet navigating directories, remembering command history and identifying the current Git branch can become repetitive. This is where Oh My Zsh makes a noticeable difference. Built on top of the Zsh shell, it is an open-source framework that helps developers customise their terminal through themes, plugins and useful configuration options.
One of its biggest advantages is how much it improves the everyday command-line experience without requiring developers to change the way they fundamentally work. Oh My Zsh supports a large collection of plugins that extend shell functionality. For example, its Git plugin provides convenient aliases for commonly used Git commands, while other plugins offer integrations for Docker, Node.js, Python and various development utilities. Rather than repeatedly typing longer commands, developers can use shortcuts to complete familiar tasks with fewer keystrokes.
Another feature that makes Oh My Zsh particularly appealing is its theme ecosystem. Developers can customise their terminal prompt to display information such as the current directory, Git branch, working status and other useful details. Popular themes such as Powerlevel10k offer highly configurable prompts with visual indicators that make it easier to understand the current development environment at a glance. This is especially useful when working across multiple repositories or switching between different projects throughout the day.
Oh My Zsh also provides command completion and helpful suggestions through additional plugins. These features can reduce the time spent remembering command syntax and navigating complicated terminal workflows. However, it is important to understand that Oh My Zsh is not a replacement for Zsh itself. It is a configuration framework that makes the shell more convenient and customisable.
For developers who want a more personalised terminal with Git shortcuts, useful plugins and an improved command prompt, Oh My Zsh is an excellent starting point.
Website: https://ohmyz.sh/
Finding the right file inside a large project can become frustrating, particularly when working with repositories containing hundreds or thousands of directories. Traditional commands such as find and grep are useful, but developers often need to remember specific paths or construct lengthy search expressions. fzf, a command-line fuzzy finder, offers a much faster and more interactive approach to discovering files, directories, command history and other information.
The biggest strength of fzf is its fuzzy-search functionality. Instead of entering an exact filename or complete search phrase, developers can type a few characters and receive relevant matches instantly. The tool continuously filters results as the search query changes, making it possible to locate files even when the developer remembers only part of their name. This becomes especially valuable in large codebases where manually navigating folder structures is not practical.
fzf is not limited to searching files. It can also work with shell command history, Git branches, processes and other lists of text-based information. For example, developers can search through previously executed commands instead of repeatedly pressing the arrow keys or remembering exactly what they typed earlier. When integrated with tools such as Vim, Neovim or other terminal applications, fzf can also make opening files and switching between project resources much more convenient.
Another useful feature is its ability to integrate with other command-line utilities. Developers can combine fzf with commands such as find, git and ps to create interactive workflows. Rather than receiving a long list of results and manually inspecting each entry, users can select the required item through an interactive interface.
Consider a developer working on a project with a deeply nested folder structure. Instead of navigating through several directories to locate a configuration file, they can use fzf to search for it directly. This small improvement may seem insignificant at first, but repeated across dozens of daily tasks, it can make terminal navigation considerably more efficient.
For developers who frequently switch between files, repositories and commands, fzf is one of the most useful productivity tools to add to a terminal setup.
Website: https://github.com/junegunn/fzf
Searching through code is an essential part of software development. Whether debugging an unfamiliar application, locating a function definition, identifying a configuration value or understanding how a particular component works, developers regularly need to search across multiple files. Traditional search utilities can handle these tasks, but large repositories often make searching slower and less convenient than it needs to be. ripgrep, commonly accessed through the rg command, is designed to make searching text across projects exceptionally fast.
Built with performance and usability in mind, ripgrep searches recursively through directories while respecting common ignore rules. By default, it considers files listed in .gitignore and avoids searching hidden files and binary files unless configured otherwise. This behaviour is particularly useful when working with modern development projects containing dependency folders, generated files and build artefacts that developers rarely need to inspect.
One of ripgrep’s most valuable features is its speed. Written in Rust, it uses efficient search techniques and parallel processing to handle large collections of files. Instead of manually opening multiple files to locate a particular function or keyword, developers can enter a search term and receive matching results directly in the terminal, often with filenames and line numbers included.
For example, imagine a developer investigating an error involving a particular API endpoint. Rather than opening every source file individually, they can search the entire project using a simple command:
rg “apiEndpoint”
The terminal displays matching lines along with their file locations, making it easier to identify where the endpoint is defined or referenced. Developers can also search using regular expressions, restrict searches to specific file types and customise how results are displayed.
Ripgrep is particularly valuable when working with unfamiliar codebases. Developers joining an existing project often need to understand how different components communicate, where certain functions are defined and which files contain important configuration settings. A fast search utility makes this discovery process considerably easier.
It also integrates well with other tools in the command-line ecosystem. For example, combining ripgrep with fzf allows developers to search for relevant results and interactively select files or matching entries. This makes it a useful addition to both simple terminal workflows and more advanced development environments.
For anyone who regularly works with large repositories, debugging tasks or complex application structures, ripgrep can significantly reduce the time spent searching through code.
Website: https://github.com/BurntSushi/ripgrep
Reading files directly from the terminal is a common part of a developer’s workflow. Configuration files, source code, documentation and log files are frequently inspected using commands such as cat. Although these commands are reliable, their plain-text output can become difficult to read when dealing with lengthy files or complex code structures. bat improves this experience by introducing syntax highlighting, line numbers and other useful visual features.
Often described as a modern alternative to the traditional cat command, bat makes terminal-based file inspection more readable. It supports syntax highlighting for numerous programming and markup languages, allowing developers to distinguish keywords, strings, comments and other elements visually. This is particularly useful when examining source code without opening a full-featured code editor.
One of bat’s most practical features is its automatic paging behaviour. When displaying longer files, it can use a pager to make navigation easier. Developers can scroll through content, search within files and inspect different sections without overwhelming the terminal with hundreds of lines at once. Line numbers also make it easier to identify specific sections of code, especially when investigating errors or comparing file contents.
Bat also supports Git integration, which can display modifications and changes alongside file content. This gives developers additional context when reviewing files inside an active repository. Instead of switching between different tools to understand what has changed, they can inspect relevant information directly within the terminal.
For example, opening a JavaScript configuration file using:
bat config.js
provides a more visually organised output than the traditional cat config.js command. Developers can quickly recognise different parts of the file through syntax colours and line numbering.
Another advantage is its ability to integrate with existing command-line workflows. Bat can be used as a replacement for cat in many everyday situations, and it can also work alongside fzf to display file previews while searching through directories. This combination is particularly useful for developers who prefer interactive terminal-based navigation.
Although bat does not replace a proper code editor, it offers a convenient way to inspect smaller files, review configuration settings and read source code without leaving the terminal. For developers who value readability and efficiency, it is a simple upgrade that makes a noticeable difference.
Website: https://github.com/sharkdp/bat
A developer’s workflow rarely involves just one terminal task. Running a development server, monitoring application logs, executing tests, managing Git operations and accessing a database can all require separate terminal sessions. Constantly opening new windows or switching between applications can interrupt concentration and make the workspace feel disorganised. tmux, short for terminal multiplexer, addresses this challenge by allowing developers to manage multiple terminal sessions within a single window.
The central idea behind tmux is simple: instead of creating a separate terminal window for every task, developers can divide their terminal into multiple panes and windows. Each pane can run an independent command or process, allowing several activities to remain visible simultaneously. For instance, a developer can keep their application server running in one pane, monitor logs in another and execute tests in a third.
One of the most useful features of tmux is session management. A session represents a collection of terminal windows and panes associated with a particular workflow. Developers can detach from an active session without terminating the processes running inside it and reconnect later to continue working. This is particularly valuable when working on remote servers through SSH or handling long-running development processes.
Tmux also offers keyboard-driven navigation, making it possible to switch between panes, resize terminal sections and create new windows without relying on a mouse. Once developers become familiar with its keyboard shortcuts, managing multiple terminal activities becomes considerably more fluid.
Another important advantage is persistence. If a developer disconnects from a remote machine or closes their terminal application, a tmux session can continue running on the server. They can reconnect and return to the same working environment, provided the tmux server and machine remain active. This makes it especially useful for remote development, server administration and long-running tasks.
For example, a developer building a web application might organise their workspace with one pane for the frontend development server, another for backend services and a third for Git commands or testing. Everything remains accessible within a single terminal window, reducing unnecessary switching and helping maintain focus.
Tmux has a learning curve, particularly for users unfamiliar with its keyboard shortcuts and configuration system. However, the productivity benefits become increasingly clear once it becomes part of a regular development routine.
For developers who work with multiple processes, remote environments or terminal-heavy workflows, tmux is a powerful utility that can transform the way they organise their workspace.
Website: https://github.com/tmux/tmux
How These Five Tools Work Better Together
Individually, Oh My Zsh, fzf, ripgrep, bat and tmux solve different problems. Their real value becomes even more apparent when developers combine them into one cohesive command-line environment. Oh My Zsh provides a more capable and personalised shell, while fzf makes finding files and commands easier. Ripgrep handles fast code searches, bat improves file readability and tmux keeps multiple development activities organised within a single workspace.
Consider a typical development session. A developer opens a tmux session and launches a project using a customised Oh My Zsh terminal. When a particular function needs to be located, ripgrep searches through the repository. If the developer needs to open a matching file, fzf makes it easier to find and select the correct result. Once the file is located, bat provides a readable preview with syntax highlighting and line numbers. Meanwhile, the application server and test processes can continue running in separate tmux panes.
This combination reduces the friction associated with everyday development activities. Instead of repeatedly moving between applications, searching manually or opening additional terminal windows, developers can complete many tasks within a single environment.
Final Thoughts: Build a Command-Line Workflow That Works Smarter
Developer productivity is not always about adopting the newest programming language, buying a more powerful computer or learning another complex framework. Sometimes, meaningful improvements come from upgrading the small tools used throughout the working day. A faster file search, a more organised terminal, an easier way to inspect source code or a persistent development session can collectively make everyday programming more efficient.
The five command-line tools discussed here offer practical improvements for developers at different experience levels. Oh My Zsh helps create a more capable terminal environment, fzf simplifies navigation, ripgrep accelerates code discovery, bat makes reading files easier and tmux brings multiple terminal activities together.
Not every developer needs all five tools immediately. Someone working primarily inside an IDE might benefit most from ripgrep and bat, while a developer managing remote servers may find tmux particularly valuable. The best approach is to introduce these utilities gradually, understand how they fit into existing workflows and customise them according to individual development needs.
Ultimately, a productive development environment is not defined by how many tools it contains, but by how effectively those tools remove unnecessary work. With the right command-line setup, developers can spend less time managing their environment and more time doing what matters most: building, testing and improving software.
Leave A Comment