zip

Install command:
brew install zip

Compression and file packaging/archive utility

https://infozip.sourceforge.net/Zip.html

License: Info-ZIP

Development: Pull requests

Formula JSON API: /api/formula/zip.json

Formula code: zip.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 3.0

Revision: 2

Patches:

https://deb.debian.org/debian/pool/main/z/zip/zip_3.0-16.debian.tar.xz
https://github.com/Homebrew/homebrew-core/blob/main/Patches/zip/xcode15.diff

Keg-only because macOS already provides this software.

Uses from macOS: bzip2

Binaries: zip, zipcloak, zipnote, zipsplit

GitHub Packages downloads:

Last 30 days22,406
Downloads2,019,723
Analytics install events (30 days)2,527
Downloads / install events (30 days)8.9×

Source: GitHub Packages, fetched 2026-11-10T00:51:00Z. Analytics dates: 2026-10-11 to 2026-11-10. 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
Installs2,5243,63978,551
Installs (--HEAD)3310
Installs on Request1,7122,69310,186
Installs on Request (--HEAD)3310
Build Errors0

Homebrew ships patches for: CVE-2018-13410.