Instructions for installing zsh plugins, for a variety of plugin managers
-
⚠️ Deprecated. Official recommendation is to use Antidote insteadAdd
<owner>/<repo>to your plugins file. If you use static loading, run the update command. -
Antidote: Add
<owner>/<repo>to your plugins file. If you generate your static plugins file manually, run the bundle command. -
⚠️ Not actively maintained. Antidote was its spiritual successor.Add
antigen bundle <owner>/<repo>to your.zshrc. -
-
Clone to OMZ's plugins' directory:
git clone --recurse-submodules https://github.com/<owner>/<repo>.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/<repo>
-
Add to the OMZ plugins array in your
.zshrc:plugins=( [plugins...] <repo>)
-
-
-
Clone the plugin repo to either
~/.zprezto/modulesor to some other directory of your choosing. If you choose a directory other than~/.zprezto/modulestell prezto to look for modules in that directory: addzstyle ':prezto:load' pmodule-dirs <dir path>to your.zpreztorcfile (replace<dir path>with the path to your directory).git clone --recurse-submodules https://github.com/<owner>/<repo>.git ~/.zprezto/modules/<repo>
-
Load the plugin by adding it to the
.zpreztorcfile'spmodulelist. The list will look something likezstyle ':prezto:load' pmodule 'repo'
-
-
zcomet: add
zcomet load <owner>/<repo>to your.zshrc -
zed: add
zed load <tld>.com/<owner>/<repo>to your.zshrc -
⚠️ as of this writing, not actively maintainedadd
zgen load <owner>/<repo>to your.zshrc -
a maintained fork of zgen
add
zgenom load <owner>/<repo>to your.zshrc -
zi:
⚠️ This author recommends steering clear of zinit, and z-shell (not to be confused with zsh). zi is a rebranded copy of zinit/zplugin. If you use or are considering using zi, I recommend zinit instead. Read https://www.reddit.com/r/zsh/comments/sqsni7/comment/hwodbgv/ for an explanation. -
zim add
zmodule <owner>/<repo>
to your
.zshrc(see homepage for other options) and then runzimfw install
-
zinit (formerly zplugin):
⚠️ zinit is not generally recommended except for existing zinit/zplugin users. Read https://www.reddit.com/r/zsh/comments/qinb6j/httpsgithubcomzdharma_has_suddenly_disappeared_i/ for some history. As of this writing the original owner's repo is deleted and the project can be found at https://github.com/zdharma-continuum/zinitsimplest option is to add this to your
.zshrc:zinit light <owner>/<repo>
zinit has a wide range of options for optimizing performance. If you notice the plugin impacting the performance of new terminals, and if you don't need the plugin to be available the moment you're able to type at a prompt, a good place to start is
zinit ice wait lucid zinit light <owner>/<repo>
That will silently delay loading the plugin until after the shell has started up.
-
znap:
Run
znap clone <url>
and then add to
.zshrcznap source <owner>/<repo>
-
⚠️ Not actively maintained.Add
zplug "<owner>/<repo>"to your.zshrc(see homepage for other options).
Then restart zsh:
exec zsh
Antibody is deprecated. Maybe mark Antidote as the one to use?