unar

Command-line tool for extracting files from various archive formats

brewmacoslinux
Try with needOr install directly
Source

About

Command-line unarchiving tools supporting multiple formats

Commands

unarlsar

Examples

Extract a ZIP file$ unar archive.zip
List contents of an archive without extracting$ lsar archive.rar
Extract to a specific directory$ unar -o ~/Downloads archive.7z