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

> Terminal-based file system explorer.
> More information: <https://xplr.dev>.

- Open a directory:

`xplr {{path/to/directory}}`

- Focus on a file:

`xplr {{path/to/file}}`

- Focus on a directory:

`xplr --force-focus {{path/to/directory}}`

- Open a directory with specific files or directories selected:

`xplr {{path/to/directory}} {{path/to/selected_file_or_directory1}} {{path/to/selected_file_or_directory2}}`
