zsh-completions

Install command:
brew install zsh-completions

Also known as: zsh-completion

Additional completion definitions for zsh

https://github.com/zsh-users/zsh-completions

License: MIT-Modern-Variant AND BSD-3-Clause AND MIT AND Apache-2.0 AND ISC AND NCSA

Development: Pull requests

Formula JSON API: /api/formula/zsh-completions.json

Formula code: zsh-completions.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable ✅ 0.36.0
head ⚡️ HEAD

Uses from macOS: zsh (test)

To activate these completions, add the following to your .zshrc:

    if type brew &>/dev/null; then
     FPATH=$(brew --prefix)/share/zsh-completions:$FPATH

     autoload -Uz compinit
     compinit
    fi

You may also need to force rebuild `zcompdump`:

    rm -f ~/.zcompdump; compinit

Additionally, if you receive "zsh compinit: insecure directories" warnings when attempting
to load these completions, you may need to run these commands:

    chmod go-w '$HOMEBREW_PREFIX/share'
    chmod -R go-w '$HOMEBREW_PREFIX/share/zsh'

GitHub Packages downloads:

Last 30 days12,601
Downloads1,228,325
Analytics install events (30 days)1,760
Downloads / install events (30 days)7.2×

Source: GitHub Packages, fetched 2026-11-20T00:57:04Z. Analytics dates: 2026-10-21 to 2026-11-20. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs1,7584,68630,666
Installs (--HEAD)2751
Installs on Request1,7514,65430,562
Installs on Request (--HEAD)2751
Build Errors0