Back to Blog
Arnošt Havelka

Zoxide Deep Dive

Understanding the 'Frecency' algorithm.

Start Interactive Lesson
Zoxide Deep Dive

How Zoxide Thinks

Zoxide isn't magic; it's math. It ranks directories based on an algorithm called Frecency.

Frecency = Frequency + Recency

The Scoring System

Every time you visit a directory, Zoxide increases its score. If you don't visit it for a while, the score decays. This means a folder you used 100 times last year won't beat a folder you used 10 times today.

Viewing Scores

You can actually see the raw scores in your database.

Command Prompt
C:\Users\User>zoxide query --list --score

Cleaning the Database

If you delete a folder, Zoxide might still remember it. You can clean up these "ghost" entries.

Command Prompt
C:\Users\User>zoxide remove C:\DeletedFolder

Knowledge Check

1 / 2

What combination makes up 'Frecency'?

References

These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.

Up Next

Zoxide Advanced

Interactive selection with 'zi'.