Managing Files with ranger

Learn how to manage files with the ranger command.

Setting up ranger

The ranger command is a terminal-based graphical file manager. While this course is all about working on the command line, ranger makes it easier to work with files in batches, and it also makes previewing files easy. To use it, we first need to install it. On Ubuntu, we use apt:

sudo apt install ranger

On macOS, we use brew:

brew install ranger

After that, we start ranger:

ranger

Use the terminal below to practice this command.

Get hands-on with 1200+ tech skills courses.