zplug
Zsh plugin manager with parallel loading
TLDR
Load a plugin from GitHub
$ zplug "[user/repo]"
Load Oh My Zsh plugin$ zplug "plugins/[git]", from:oh-my-zsh
Load with specific command$ zplug "[user/repo]", as:command
Load theme$ zplug "[user/repo]", as:theme
Install plugins$ zplug install
Update all plugins$ zplug update
Load all plugins$ zplug load
SYNOPSIS
zplug "repo" [, tag:value...]
zplug command
DESCRIPTION
zplug is a next-generation Zsh plugin manager featuring parallel installation, lazy loading, and dependency management. It supports loading from GitHub, Oh My Zsh, Prezto, local files, and gists.
A typical .zshrc setup:
$ source ~/.zplug/init.zsh
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-syntax-highlighting", defer:2
if ! zplug check; then zplug install; fi
zplug load
zplug can manage not just Zsh plugins but also commands and binaries, installing them to a managed directory.zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-syntax-highlighting", defer:2
if ! zplug check; then zplug install; fi
zplug load
TAGS
from:source
Plugin source (github, oh-my-zsh, local, etc.)as:type
Type: plugin, command, or themeuse:pattern
Glob pattern for files to sourceat:branch/tag
Branch, tag, or commit to userename-to:name
Rename commandfrozen:bool
Don't update this plugindefer:level
Defer loading (0-3, higher loads later)if:condition
Conditional loadinghook-build:command
Command to run after install
SUBCOMMANDS
install
Install plugins not yet installedupdate
Update all pluginsload
Source pluginslist
List installed pluginsclean
Remove unused pluginsstatus
Check plugin update statuscheck
Check if plugin is installed
CAVEATS
zplug development has slowed. Consider zinit or sheldon for actively maintained alternatives.
First run may be slow while plugins install. Subsequent loads are fast.
Complex configurations with many deferred plugins can make debugging difficult.
