1,先安装 $ brew install unrar 2,进入压缩包目录 outsource xxx$unrar x filename.rar 转载于:https://www.cnblogs.com/xkfeng/p/11032110.html