Joshuto: A Great File Manager in Terminal
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:
Installation
Arch
In archlinux, I choose to use yay
. Run the command below and keep hitting Enter.
1 | yay -S joshuto |
How to install Yay?
How to install Yay from source?
First, run:
1 | sudo pacman -Sy --needed git base-devel |
Then, download the AUR package:
1 | git clone https://aur.archlinux.org/yay.git |
And then, go into the directory:
1 | cd yay |
Finally, build it:
1 | makepkg -si |
Ubuntu
You can install joshuto
using cargo
:
1 | cargo install --git https://github.com/kamiyaa/joshuto.git --force |
To install cargo
, run:
1 | sudo apt install cargo |
Then add /$HOME/.cargo/bin
to PATH in /$HOME/.profile
:
1 | 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:
1 | set -x PATH /$HOME/.cargo/bin $PATH |
Usage
First, to open the GUI, run:
1 | 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