BlockLune's Blog

Home Tags About |

joshuto: A great file manager in terminal

Published at 2023-07-12
Last update over 365 days ago Licensed under CC BY-NC-SA 4.0 terminaltoolrustfile-managervim-like

When in a terminal, sometimes it’s really annoying to keep on typing in cd or something else to browse the files and directories. Can we do it just like what we do in GUI? Then joshuto may be helpful to you.

Brief

joshuto is a ranger-like terminal file manager written in Rust. Thanks to rust’s excellent performance, joshuto is much faster than ranger.

It allows you to explore files in terminal like this:

joshuto on GitHub

Installation

Arch

In archlinux, I choose to use yay. Run the command below and keep hitting Enter.

yay -S joshuto

Tip

How to install Yay from source?

First, run:

sudo pacman -Sy --needed git base-devel

Then, download the AUR package:

git clone https://aur.archlinux.org/yay.git

And then, go into the directory:

cd yay

Finally, build it:

makepkg -si

Ubuntu

You can install joshuto using cargo:

cargo install --git https://github.com/kamiyaa/joshuto.git --force

Note

To install cargo, run:

sudo apt install cargo

Then add /$HOME/.cargo/bin to PATH in /$HOME/.profile:

export PATH="$PATH:/$HOME/.cargo/bin"

If you don’t use bash, but fishshell, then edit /$HOME/.config/fish/config.fish and add this line:

set -x PATH /$HOME/.cargo/bin $PATH

Usage

First, to open the GUI, run:

joshuto

joshuto supports vim-like operations:

  • Move up: k

  • Move down: j

  • Return to parent directory: h

  • Open file or directory: l

  • Go to top: gg

  • Go to bottom: G

  • Page up: <c-u>

  • Page down: <c-d>

  • Cut / Delete file: dd

  • Copy file: yy

  • Paste file: pp

Learn more here