Ranger

Active

Overview

Ranger is a console-based file manager written in Python that provides a minimalistic, keyboard-driven interface for navigating and managing files. It uses a three-column Miller layout to display the directory hierarchy and features VI-style key bindings for efficient file operations. Designed for terminal users and power users who prefer keyboard navigation over mouse-based interaction, Ranger emphasizes speed, customization, and integration with Unix shell environments.

Key Features

  • VI-style key bindings - Vim-inspired keyboard shortcuts and navigation commands for efficient file management without mouse dependency.
  • Three-column Miller layout - Displays parent directory, current directory, and file preview in a single pane for hierarchical navigation.
  • File preview - Automatic preview of selected files and directories in the rightmost column, including text, images, and other file types.
  • Rifle file launcher - Automatically determines file types and launches them with appropriate programs based on file associations.
  • Bookmarks and tabs - Quick navigation between frequently used directories using single-letter bookmarks and multiple tabs.
  • Bulk rename - Rename multiple files at once using your default text editor for batch operations.
  • Multi-pane view mode - Optional multi-pane layout similar to Midnight Commander for advanced file operations.
  • UTF-8 support - Full Unicode support for proper handling of international characters and file names.
  • Customizable configuration - Highly configurable through rc.conf and other configuration files for personalized workflows.
  • Command history and filtering - Access to command history and ability to filter files by type or other criteria.

Pricing

PlanPriceIncludes
Free$0Full access to all features, open-source code, community support

Platforms & Requirements

Ranger runs on Linux, macOS, BSD, and other Unix-like systems where Python and ncurses are available. It requires Python 3.6 or later and the ncurses library. Ranger operates entirely within terminal emulators and has no graphical user interface; performance and feature availability depend on terminal capabilities and installed preview tools.

Integrations & Ecosystem

  • rifle file launcher
  • ncurses library
  • Unix shell integration
  • Image preview tools (w3m, ueberzug, kitty)
  • PDF preview (pdftoppm)
  • Text editors (vim, nano, emacs)
  • Archive managers (tar, zip, 7z)
  • Version control systems (git integration via plugins)

Alternatives

AppDifference
Midnight Commander (mc)Older, more feature-rich file manager with mouse support and built-in editor; less keyboard-centric than Ranger.
NnnLightweight, faster alternative written in C with similar keyboard-driven approach but simpler feature set.
LfMinimalist file manager written in Go with faster startup and lower resource usage; fewer features than Ranger.
VifmVi-like file manager with dual-pane layout by default; more similar to Vim than Ranger's three-column design.
ThunarGraphical file manager with mouse support; designed for desktop environments rather than terminal-only workflows.

Reputation

Ranger is well-regarded in the Linux and Unix community as a powerful, lightweight alternative to graphical file managers for terminal-based workflows. Users appreciate its speed, keyboard efficiency, and extensive customization options, particularly among developers and system administrators. The project maintains active community support and regular updates. Some users note a steep learning curve due to VI key bindings and the need to configure preview tools separately for full functionality.

Sources (8)
  1. https://ihommani.github.io/ranger.html
  2. https://github.com/ranger/ranger
  3. https://hunden.linuxkompis.se/2020/08/20/ranger-my-favourite-file-manager.html
  4. https://wiki.archlinux.org/title/Ranger
  5. https://luxagraf.net/src/how-use-ranger-command-line-file-browser
  6. https://www.youtube.com/watch?v=mMfI415RNEs
  7. https://www.datafix.com.au/BASHing2/2024-06-14.html
  8. https://kapeli.com/cheat_sheets/ranger.docset/Contents/Resources/Documents/index