---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ranger

> Console file manager with VI key bindings.
> See also: `clifm`, `vifm`, `mc`, `dolphin`.
> More information: <https://github.com/ranger/ranger/blob/master/doc/ranger.pod>.

- Launch ranger:

`ranger`

- Show only directories:

`ranger --show-only-dirs`

- Change the configuration directory:

`ranger {{[-r|--confdir]}} {{path/to/directory}}`

- Change the data directory:

`ranger --datadir {{path/to/directory}}`

- Print CPU usage statistics on exit:

`ranger --profile`
