zi self-update
Summary
Section titled “Summary”Update and recompile Zinit itself. Run this after installing Zinit or whenever you want to pull the latest Zinit source.
Syntax / Usage
Section titled “Syntax / Usage”zi self-updateNo arguments or flags.
Details
Section titled “Details”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.
Examples
Section titled “Examples”# After initial install, compile Zinitzi self-update
# Routine update of Zinit itselfzi self-updateSee Also
Section titled “See Also”- cmd-update
- cmd-zstatus