Ranger browses the filesystem in the terminal with a multicolumn layout and previews. It includes rifle, which picks programs for file types automatically.
Overview
Ranger is a terminal file manager that uses VI-style keys and a curses interface showing the directory hierarchy. It aims to stay small, scriptable, and integrated with Unix shells, including optional shell directory changes after exit.
The interface supports multicolumn views, optional multi-pane mode, UTF-8 text, tabs, bookmarks, and mouse input. Common file tasks such as create, copy, delete, chmod, and batch rename are built in. Selected files can preview in a dedicated column when scope scripts and optional tools are installed.
Rifle, bundled with Ranger, launches files using rules that map extensions and types to programs. Configuration files can be copied to the user config directory on first run. Python with curses is required; many external utilities improve previews for images, archives, PDFs, media metadata, and code highlighting.
Install via OS packages, PyPI as ranger-fm, pipx, or by running the source script directly. A Dockerfile example can run Ranger inside a container image.
Key features
- VI-like navigation keys
- Multicolumn directory view
- File preview column
- Rifle file launcher
- Tabs and bookmarks
- Batch rename support
- Shell integration on exit
- Extensive preview hooks
Use cases
- Terminal filesystem navigation
- Keyboard-driven file operations
- Preview-heavy media workflows
- Remote SSH file management