[7z] Install the 7z command on macOS with Homebrew

Created on November 30, 2026

On a Mac with Homebrew, you can install the 7z command using the p7zip formula.

brew install p7zip

To check that the command is available and see which formats it supports, run:

7z i

Reference

7z