# Install zip with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Compression and file packaging/archive utility. Version 3.0 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:zip
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install zip
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zip
```

  Evidence: MacPorts ports tree: archivers/zip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add zip
```

  Evidence: Alpine Linux edge package indexes: zip from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install zip
```

  Evidence: Debian stable package indexes: zip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install zip
```

  Evidence: Fedora Rawhide package metadata: zip from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#zip
```

  Evidence: nixpkgs package indexes: pkgs/by-name/zi/zip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S zip
```

  Evidence: Arch Linux sync databases: zip from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install zip
```

  Evidence: openSUSE Tumbleweed package metadata: zip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install zip
```

  Evidence: Chocolatey community package catalog: zip from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','yubikey-manager'

- Scoop (92%):

```sh
scoop install main/zip
```

  Evidence: Scoop official bucket manifest trees: bucket/zip.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Diorser.LiteMonitor -e
```

  Evidence: Windows Package Manager source index: Diorser.LiteMonitor from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:zip
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/zip>
- **Version:** 3.0
- **Source summary:** Compression and file packaging/archive utility
- **Homepage:** <https://infozip.sourceforge.net/Zip.html>
- **Upstream docs:** <https://infozip.sourceforge.net/Zip.html>
- **License:** Info-ZIP
- **Source archive:** <https://downloads.sourceforge.net/project/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz>
- **Last updated:** 2026-06-19T12:33:05-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- zip (cli)
- zipcloak (cli)
- zipnote (cli)
- zipsplit (cli)
- zip (alias)
- zipcloak (alias)
- zipnote (alias)
- zipsplit (alias)

## Uses from macOS

- bzip2

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.0
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://infozip.sourceforge.net/Zip.html
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

The `zip` package is the Info-ZIP implementation of the ZIP compressor-archiver: a small command-line tool attached to one of computing's most durable archive formats. Its significance is partly technical, but mostly social: ZIP became the common archive language across DOS, Windows, Unix, macOS, Java, office documents, EPUB, mobile packages, and countless download workflows.

### Project history

ZIP as a file format originated with PKWARE. The Library of Congress format description identifies ZIP as a cross-platform storage and transfer format, developed and maintained by PKWARE, and notes Phil Katz as the original developer of the format. PKWARE's APPNOTE specification says the format has been publicly specified since 1989 and remains maintained for interoperability.

Info-ZIP formed in 1990 as an Internet-based workgroup and mailing list. Its stated purpose was to provide free, portable Zip and UnZip utilities compatible with PKWARE's DOS-based tools. The official Zip page emphasizes portability beyond MS-DOS and the ability to run on many operating systems.

Info-ZIP Zip developed into the portable command-line counterpart to a format that had already escaped any one vendor. The project's own pages document releases across the 1990s and 2000s, including Zip 2.1 in 1996, Zip 2.2 in 1997, Zip 2.3 in 1999, Zip 2.32 in 2006, and Zip 3.0 in 2008.

### Adoption history

Info-ZIP's adoption story is one of portability. The project says it supports hardware from microcomputers to Cray systems and operating systems including Unix, VMS, OS/2, Windows, MS-DOS, classic Mac OS, AmigaDOS, Atari TOS, MVS, VM/CMS, Tandem NSK, and others. That breadth made `zip` and `unzip` natural baseline tools in Unix-like package collections.

The ZIP format became a container substrate for other ecosystems. The Library of Congress notes adoption as the package/container for Office Open XML, OpenDocument, and EPUB, while PKWARE's APPNOTE lists common ZIP-based extensions such as JAR, WAR, DOCX, XLSX, PPTX, ODT, ODS, and ODP.

Info-ZIP code also spread into third-party software. The project page describes uses in IBM products, Sun's HotJava distribution, Novell NetWare installation, Windows products such as WinZip and DynaZIP DLLs, PGP, and the zlib compression library lineage.

### How it is used

`zip` packages files or directory trees into a ZIP archive, with metadata such as names, paths, timestamps, protection bits, and integrity checks. It is used for software distribution, archiving, temporary compression, source release bundles, build artifacts, and portable file exchange.

The Info-ZIP implementation has historically mattered on Unix-like systems because it behaves like a scriptable CLI. The official page calls out features such as creating archives in a pipe or on a device, text-format conversion across Unix/MS-DOS/Macintosh conventions, and broad OS support.

### Why package nerds care

`zip` is package-nerd bedrock: one of the commands you expect to exist before you know what the project is doing. It is simultaneously an end-user archive tool, a build artifact producer, and a compatibility bridge to formats that are ZIP files wearing application-specific extensions.

It also illustrates how packaging ecosystems preserve old interoperability contracts. A modern package manager carrying Info-ZIP is carrying a 1990s portability project, a 1989 archive specification, and the everyday ability to inspect or create archives used by Java, office suites, EPUB tooling, app bundles, and release pipelines.

### Timeline

- 1989: PKWARE begins public ZIP format specification through APPNOTE.
- 1990: Info-ZIP forms as an Internet mailing-list workgroup.
- 1993: PKWARE APPNOTE 2.0 introduces Deflate, later the default method used by most ZIP-compatible programs.
- 1996: Info-ZIP releases Zip 2.1 and UnZip 5.2.
- 1999: Info-ZIP releases Zip 2.3 under a BSD/X11-like license.
- 2008: Info-ZIP releases Zip 3.0 with large-file, ZIP64-scale archive, multipart, UTF-8 filename, and bzip2 support.

### Related projects

- PKWARE PKZIP and APPNOTE, the original ZIP format lineage.
- Info-ZIP UnZip, the companion extractor package.
- zlib, whose deflate implementation lineage is closely tied to Info-ZIP contributors and became a core compression library.
- gzip, 7-Zip, libarchive, minizip, Java JAR/WAR tooling, Office Open XML, OpenDocument, and EPUB.

### Sources

- <https://infozip.sourceforge.net/>
- <https://infozip.sourceforge.net/Info-ZIP2.html>
- <https://infozip.sourceforge.net/Zip.html>
- <https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT>
- <https://www.loc.gov/preservation/digital/formats/fdd/fdd000354.shtml>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zip
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - zip - 3.0-15: normalized package name match | Debian stable package indexes: zip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Archiver for .zip files | https://infozip.sourceforge.net/Zip.html
- Nix - zip: normalized package name match | nixpkgs package indexes: pkgs/by-name/zi/zip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - zip - 3.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: zip from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Archiver for .zip files | https://infozip.sourceforge.net/Zip.html
- apk - zip - 3.0-r13: normalized package name match | Alpine Linux edge package indexes: zip from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Creates PKZIP-compatible .zip files | http://www.info-zip.org/pub/infozip/Zip.html
- apk - zip-doc - 3.0-r13: normalized package name match | Alpine Linux edge package indexes: zip-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Creates PKZIP-compatible .zip files (documentation) | http://www.info-zip.org/pub/infozip/Zip.html
- dnf - zip - 3.0-45.fc44: normalized package name match | Fedora Rawhide package metadata: zip from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A file compression and packaging utility compatible with PKZIP | http://www.info-zip.org/Zip.html
- pacman - zip - 3.0-13: normalized package name match | Arch Linux sync databases: zip from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Compressor/archiver for creating and modifying zipfiles | http://www.info-zip.org/Zip.html
- zypper - zip - 3.0-24.5: normalized package name match | openSUSE Tumbleweed package metadata: zip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | File compression program | https://github.com/distropatches/zip/commits/opensuse
- MacPorts - zip: normalized package name match | MacPorts ports tree: archivers/zip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - zip: normalized package name match | Chocolatey community package catalog: zip from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','yubikey-manager'
- Scoop - main/zip: normalized package name match | Scoop official bucket manifest trees: bucket/zip.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Diorser.LiteMonitor: normalized package name match | Windows Package Manager source index: Diorser.LiteMonitor from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [advancecomp](https://www.automicvault.com/pkg/brew/advancecomp/) - Shares av.db curated category or tags: cli, compression, developer-tools, zip.
- [py7zr](https://www.automicvault.com/pkg/brew/py7zr/) - Shares av.db curated category or tags: archive, cli, compression, developer-tools.
- [ancient](https://www.automicvault.com/pkg/brew/ancient/) - Shares av.db curated category or tags: archive, cli, compression, developer-tools.
- [brotli](https://www.automicvault.com/pkg/brew/brotli/) - Shares av.db curated category or tags: cli, compression, developer-tools.
- [exomizer](https://www.automicvault.com/pkg/brew/exomizer/) - Shares av.db curated category or tags: cli, compression, developer-tools.
- [lhasa](https://www.automicvault.com/pkg/brew/lhasa/) - Shares av.db curated category or tags: archive, cli, compression, developer-tools.
- [libarchive](https://www.automicvault.com/pkg/brew/libarchive/) - Shares av.db curated category or tags: archive, cli, compression, developer-tools, zip.
- [libdeflate](https://www.automicvault.com/pkg/brew/libdeflate/) - Shares av.db curated category or tags: cli, compression, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/zip.yml](https://github.com/automic-vault/db/blob/main/combined/zip.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
