autojump: A cd command that learns. Works with bash v4.0+, zsh, fish, or clink (Windows) shells

From the autojump github page:

autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line.

Directories must be visited first before they can be jumped to.