CMD Master
Back to Blog
Arnošt Havelka

Zoxide Add

Manually add directories to the database.

Start Interactive Lesson
Zoxide Add

Zoxide Add

Zoxide usually learns automatically. But sometimes you want to teach it a path before you visit it, or fix a path that isn't ranking high enough.

Usage:zoxide add
[path]
path
The full path to the directory you want to add.

How it works

Running zoxide add . adds the current directory to the database. If it's already there, it bumps its score (frecency), making it more likely to be chosen when you jump.

Real-World Example

Teaching Zoxide a new project

You just cloned a repo. You want to be able to jump to it immediately from anywhere.

Command Prompt
C:\Users\User>zoxide add C:\Users\Dev\NewProject

(Now you can just type z NewProject from anywhere!)


Knowledge Check

1 / 2

What does 'zoxide add' do?

Up Next

Variables and Time

Master environment variables and system time management.