1
1
Fork
You've already forked hop
0
1 Home
Dorian edited this page 2026年05月06日 09:35:28 +02:00

hop

Fuzzy directory jumper for your terminal.

Type a fragment, hit enter, go anywhere. hop learns your habits and gets smarter over time.

~ $ h dl
~/Downloads
~/Downloads $ h proj
~/code/work/project

No more cd ../../../long/path. No more memorizing aliases.

Quick start

curl -fsSL https://codeberg.org/dioxus/hop/raw/branch/main/install.sh | bash
eval "$(hop init bash)" # bash
eval "$(hop init zsh)" # zsh
hop init fish | source # fish

Then just type h <query> to jump.

What hop does

Command What it does
h proj Jump to best match from history
hop /tmp Literal path works too
hop book myproj ~/code Save a bookmark
h myproj Jump to a bookmark
hop Open the interactive picker

Documentation

Data

All data lives in a single SQLite database:

  • macOS: ~/Library/Application Support/hop/hop.db
  • Linux: ~/.local/share/hop/hop.db

To back up: copy the .db file.