Learn How To Install Ranger Terminal File Manager on Linux
Table of Contents
Ranger is a command line-based file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. In this tutorial, we’ll walk through the process of installing and configuring Ranger on Debian, Ubuntu and CentOS.
Before installing Ranger, you must first install
vim. The former two will be needed for installation, and
vim is necessary for Ranger to open as a text editor.
sudo yum update -y sudo yum install make git vim -y
sudo apt-get update -y sudo apt-get install make git vim -y
To install Ranger manually, you will need to download the latest Ranger repository from Github:
git clone https://github.com/hut/ranger.git
Build and install Ranger:
cd ranger sudo make install
Run Ranger for a moment:
Exit with SHIFT + Q. This will allow Ranger to create its default configuration directory in
Now copy the generated configuration files with the following command:
The output will look something like this:
creating: /home/user1/.config/ranger/apps.py creating: /home/user1/.config/ranger/commands.py creating: /home/user1/.config/ranger/rc.conf creating: /home/user1/.config/ranger/options.py creating: /home/user1/.config/ranger/scope.sh
After starting it, the first thing you will notice is a window layout, the left column shows the parent directory, the middle column the content and selection of the current directory and the right column child directories and files or a preview of the currently selected file.
Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!