unrar

Extract RAR archives. More information: <https://manned.org/unrar>.

Install

All systems
curl cmd.cat/unrar.sh
Ubuntu
apt-get install unrar
Alpine
apk add unrar
Arch Arch Linux
pacman -S unrar
image/svg+xml Kali Linux
apt-get install unrar
Windows (WSL2)
sudo apt-get update sudo apt-get install unrar
OS X
brew install unrar
Docker
docker run cmd.cat/unrar unrar powered by Commando

Extract RAR archives. More information: <https://manned.org/unrar>.

  • Extract files with original directory structure:
    unrar x compressed.rar
  • Extract files to a specified path with the original directory structure:
    unrar x compressed.rar path/to/extract
  • Extract files into current directory, losing directory structure in the archive:
    unrar e compressed.rar
  • Test integrity of each file inside the archive file:
    unrar t compressed.rar
  • List files inside the archive file without decompressing it:
    unrar l compressed.rar

© tl;dr; authors and contributors