← 返回命令列表

Linux command

zplug 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

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

说明

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.

FAQ

What is the zplug command used for?

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.

How do I run a basic zplug example?

Run `zplug "[user/repo]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more zplug examples?

This page includes 7 examples for zplug, plus related commands for nearby Linux tasks.