Home/Tools/The Unarchiver (CLI)
T
Install via:brew
License:LGPL-2.1
Open source

The Unarchiver (CLI)

About

Extract almost any archive format — zip, rar, 7z and dozens more — straight from the terminal.

Pricing

Free

unar is the command-line version of The Unarchiver, the Mac's favorite archive opener. It extracts ZIP, RAR, 7-Zip and more than a hundred other formats, handling odd encodings and password-protected files.

Key Features

  • Extracts 100+ archive formats.
  • Password-protected archives supported.
  • Handles odd filename encodings.
  • Overwrite protection by default.
  • lsar — list archive contents without extracting.
  • Preserves permissions and dates.

Pricing

unar is free and open source under the LGPL-2.1 license.

Getting Started

brew install unar
unar archive.rar
unar -o ~/Downloads archive.7z
lsar archive.zip

Use lsar to peek inside an archive before extracting.

Install

Copy and run one of these commands locally to install The Unarchiver (CLI).

brew install unar

Comments (0)

Share your thoughts about this entry... Sign in to comment
No comments yet — start the conversation.