AptLynx

Command-line tool

p7zip

brew/p7zip

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

7-Zip (high compression file archiver) implementation

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

scoop install 7zip
scoop install nanazip

macOS

brew install p7zip

Linux

brew install p7zip

[a]dd a file or directory to a new or existing archive

7z a path/to/archive.7z path/to/file_or_directory

Encrypt an existing archive (including filenames)

7z a path/to/encrypted.7z -ppassword -mhe=on path/to/archive.7z

E[x]tract an archive preserving the original directory structure

7z x path/to/archive.7z

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents