HOME

TheInfoList



OR:

__NOTOC__ ranger is a
free and open-source Free and open-source software (FOSS) is a term used to refer to groups of software consisting of both free software and open-source software where anyone is freely licensed to use, copy, study, and change the software in any way, and the source ...
file manager A file manager or file browser is a computer program that provides a user interface to manage files and folders. The most common operations performed on files or groups of files include creating, opening (e.g. viewing, playing, editing or pr ...
with
text-based user interface In computing, text-based user interfaces (TUI) (alternately terminal user interfaces, to reflect a dependence upon the properties of computer terminals and not just text), is a retronym describing a type of user interface (UI) common as an ear ...
for
Unix-like A Unix-like (sometimes referred to as UN*X or *nix) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-li ...
systems. It is developed by Roman Zimbelmann and licensed under the terms of the
GNU General Public License The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the Four Freedoms (Free software), four freedoms to run, study, share, and modify the software. The license was th ...
. The program can accomplish file management tasks with a few keystrokes, and mouse input is optional. In conjunction with extensions including the rifle file opener and scope.sh, ranger can be scripted to open files with pre-defined programs, and to display a preview of the selected file by calling external programs.


Features

* UTF-8 support * Multi-column display (
Miller columns Miller columns (also known as cascading lists) are a browsing/visualization technique that can be applied to tree structures. The columns allow multiple levels of the hierarchy to be open at once, and provide a visual representation of the curren ...
) * Preview of the selected file/directory * Common file operations (create/chmod/copy/delete/...) * VI-like console and hotkeys * Renaming multiple files at once * Automatically determine file types and run them with correct programs * Change the directory of your shell after exiting ranger * Tabs, bookmarks, mouse support * True-color image previews * Video thumbnails


Design

ranger is written in
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
and the text-based interface uses
ncurses ncurses (new curses) is a programming library providing an application programming interface (API) that allows the programmer to write text-based user interfaces (TUI) in a terminal-independent manner. It is a toolkit for developing "GUI-like" ...
. The program makes use of the
Miller columns Miller columns (also known as cascading lists) are a browsing/visualization technique that can be applied to tree structures. The columns allow multiple levels of the hierarchy to be open at once, and provide a visual representation of the curren ...
visualization technique to display folder structures in three columns, whose default width ratios are 1:3:4. The currently active folder is always displayed in the central column, while folders higher up in the hierarchy are on the left. The rightmost column is used for displaying deeper folders and file previews.


Configuration

ranger borrows its keybindings from vi where possible, but also accepts mouse buttons and shares a few keybindings with GNU Readline and
Midnight Commander GNU Midnight Commander (also known as mc, the command used to start it, and as mouseless commander in older versions) is a free cross-platform orthodox file manager. It was started by Miguel de Icaza in 1994 as a clone of the then-popular Nor ...
. All configurable keybindings are defined in the configuration file, which is located in by default.


Comparison with other file managers

Due to its use of the
Miller columns Miller columns (also known as cascading lists) are a browsing/visualization technique that can be applied to tree structures. The columns allow multiple levels of the hierarchy to be open at once, and provide a visual representation of the curren ...
layout, ranger has been compared to Finder, the default file manager used on the
classic Mac OS Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Macintosh family of personal computers by Apple Computer from 1984 to 2001, starting with System 1 and ending with Mac OS 9. The ...
and
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
operating systems. It has also been suggested as a viable alternative to users accustomed to
Directory Opus Directory Opus (or "DOpus" as its users tend to call it) is a File manager, file manager program, originally written for the Amiga computer system in the early to mid-1990s. Commercial development on the version for the Amiga ceased in 1997. Direct ...
. ranger shares similarities with other text-based file managers including
Midnight Commander GNU Midnight Commander (also known as mc, the command used to start it, and as mouseless commander in older versions) is a free cross-platform orthodox file manager. It was started by Miguel de Icaza in 1994 as a clone of the then-popular Nor ...
, from which it borrowed its
function key A function key is a key on a computer or terminal keyboard that can be programmed so as to cause an operating system command interpreter or application program to perform certain actions, a form of soft key. On some keyboards/computers, function ...
keyboard shortcuts, and with , which also borrows features from vi and Mutt. In addition, most core utilities related to file management (cd, ls, rm, mv, ln, touch, etc.) are available from within ranger's distinct command language layer. File browser with a similar text user interface include ''rover'' and ''nnn''.


Reception

A 2012 survey among
Arch Linux Arch Linux () is an independently developed, x86-64 general-purpose Linux distribution that strives to provide the latest stable versions of most software by following a Rolling release, rolling-release model. The default installation is a minim ...
users found that ranger was the most used text-based file manager among respondents, surpassing
Midnight Commander GNU Midnight Commander (also known as mc, the command used to start it, and as mouseless commander in older versions) is a free cross-platform orthodox file manager. It was started by Miguel de Icaza in 1994 as a clone of the then-popular Nor ...
, the second most widely used text-based file manager, by a factor of two and a half (20% to 8%). ranger also received 0.9% of votes in the "Best File Manager" category in a 2013 survey by
Linux Journal ''Linux Journal'' (''LJ'') is an American monthly technology magazine originally published by Specialized System Consultants, Inc. (SSC) in Seattle, Washington since 1994. In December 2006 the publisher changed to Belltown Media, Inc. in Houston ...
. LinuxLinks named it one of the "10 Best Orthodox Free Linux File Managers", and one of its "5 Top Console Linux File Managers". It is often cited in magazine articles and software blogs for
power user A power user is a user of computers, software and other electronic devices, who uses advanced features of computer hardware, operating systems, programs, or websites which are not used by the average user. A power user might not have extensive tec ...
s as an illustration of the power and versatility of the command line interface.


See also

*
Midnight Commander GNU Midnight Commander (also known as mc, the command used to start it, and as mouseless commander in older versions) is a free cross-platform orthodox file manager. It was started by Miguel de Icaza in 1994 as a clone of the then-popular Nor ...
* List of file managers *
Comparison of file managers The following tables compare general and technical information for a number of notable file managers. General information , - ! rowspan="2" , XTree , rowspan="2" , Jeffery C. Johnson , , 1985-04-01 , DOS , , 1992 , rowspan="2" , r ...


References


External links

* *
Documentation
{{File managers Free software programmed in Python Free file managers Software that uses ncurses Console applications Linux software