1, first install
$ brew install unrar
2, into the archive directory
outsource xxx$unrar x filename.rar