Skip to content

zi self-update

Update and recompile Zinit itself. Run this after installing Zinit or whenever you want to pull the latest Zinit source.

Terminal window
zi self-update

No arguments or flags.

Zinit pulls the latest commits from its own git repository (cloned at $ZINIT[BIN_DIR], default: ~/.local/share/zinit/zinit.git), then recompiles its Zsh source files to .zwc bytecode for faster loading. This is also the recommended first command to run immediately after a fresh installation to ensure the compiled form is up to date.

Terminal window
# After initial install, compile Zinit
zi self-update
# Routine update of Zinit itself
zi self-update
  • cmd-update
  • cmd-zstatus