# Install unrar (free) brew install unrar
: After downloading and installing the package, you must open the Terminal app and type specific commands like unrar x filename.rar to extract files.
export PATH=$PATH:/usr/local/bin # Or move from Downloads folder mv ~/Downloads/rar/rar /usr/local/bin/
command switches archive_name.rar files_to_compress