Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

zoxide is a shell-navigation utility that learns which directories you visit and helps you jump back to them with short queries. To use it, install the zoxide binary and then initialize it in your shell; installing the program alone does not add the z command to your current session. Its interactive zi command is optional and requires fzf.

What zoxide does

The zoxide project describes it in its README as “a smarter cd command, inspired by z and autojump.” Instead of requiring you to type a full path every time, zoxide remembers directory visits and ranks matching paths. A query such as z foo jumps to a high-ranked directory whose path matches foo.

It is useful when you regularly move among project folders or other frequently visited locations. It complements familiar shell navigation rather than requiring you to abandon paths, parent-directory movement, or the previous-directory shortcut.

Install zoxide and connect it to your shell

There are two steps: install the binary for your platform, then initialize zoxide in the shell you actually use. The project README lists package-manager installation routes for Linux/WSL, macOS, Windows, BSD, and Android; use its current platform-specific instructions because package availability can change: zoxide README and installation instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

After installing, add the initialization command for your shell to its configuration file. The README’s examples include:

  • Bash: eval "$(zoxide init bash)"
  • Fish: zoxide init fish | source

For Zsh, initialize zoxide after compinit if you want its completions to work. Shell configuration file locations vary by setup, so follow the relevant shell and platform instructions in the README. Once you have added the command, open a fresh shell or reload that shell’s configuration. Then the z command should be available in the initialized session.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Use z to jump to a directory

Start with a distinctive part of a directory name. These examples are documented by the project; the match depends on the directories zoxide has recorded on your machine.

Command What it does
z foo Jumps to the highest-ranked matching directory.
z foo bar Searches for a matching path containing both query terms.
z foo / Jumps into a matching subdirectory.
z ~/foo or z foo/ Accepts a regular path as a navigation target.
z .. Moves to the parent directory.
z - Returns to the previous directory, like the familiar shell shortcut.

If a query does not take you where you expect, try a more specific term or use the full path. zoxide chooses among directories it has recorded, so its ranking reflects your own directory history rather than a universal list.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Use zi for interactive selection

If you have fzf installed, zi foo opens an interactive selection for matching directories. This is helpful when a short query returns several plausible destinations and you want to choose one rather than accept the top-ranked match.

fzf is not required for ordinary z queries. The zoxide README identifies fzf as optional and lists version 0.51.0 as the minimum supported version; it is used for interactive selection and completions.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Adjust zoxide’s behavior

Most users can begin with the defaults. If your workflow calls for a different command name, update policy, or database location, zoxide provides these controls:

  • --cmd changes the command name used for zoxide’s jump commands. In particular, --cmd cd replaces cd; make that choice deliberately because it changes the familiar command’s behavior.
  • --hook sets when directory scores are updated: none, prompt, or pwd, which is the documented default.
  • _ZO_DATA_DIR changes the database location.
  • _ZO_EXCLUDE_DIRS excludes paths from the database.
  • _ZO_RESOLVE_SYMLINKS enables resolving symlinks before directory entries are added.
  • _ZO_MAXAGE configures the aging algorithm that caps the database; its documented default is 10000.

Set options according to the project’s configuration documentation and the initialization method for your shell: zoxide README.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Fix common setup and completion issues

  • z is not found: Confirm that the binary is installed and that you added the matching zoxide init command to the configuration for the shell you launched. Reload the configuration or start a fresh shell.
  • Zsh completions are missing: Put zoxide initialization after compinit. If completions still do not appear, the README notes that rebuilding the completions cache may be needed; use its current Zsh-specific steps.
  • Space+Tab completion does not work in Warp: Warp supplies its own completions and does not support zoxide’s Space+Tab completion feature.
  • zi is unavailable: Check that fzf is installed and meets the README’s minimum supported version. You can still use ordinary z jumps without fzf.

Integrations and migration

The project documents integrations with file managers, launchers, editors, and tmux session managers, distinguishing native support from plugin-based integrations. Those integrations are not all part of the core command; check the README for the specific application and its current setup instructions.

If you are switching from another directory-jump utility, the README also documents import commands for atuin, autojump, fasd, z, z.lua, and zsh-z. It does not provide a measured performance comparison, so choose based on shell support, matching and ranking behavior, migration needs, interactive selection, and configuration rather than an assumed speed advantage.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.