Apple - How can I update my version of `unzip` to version 6.00 or higher?

Using Homebrew (as requested):

$ brew tap homebrew/dupes
$ brew install unzip

This will install unzip at (considering defaults) /usr/local/Cellar/unzip/6.0/bin/unzip

You can then alias it as unzip6 somewhere in your path.

Also, you may want to to try "The Unarchiver" from the app store. Much more useful IMO then Apple's Archive Utility.

UPDATE

dupes has been deprecated in Homebrew, so brew tap homebrew/dupes is no longer necessary. All you need now (assuming Homebrew is installed) is:

brew install unzip

Then you can add a link to /usr/local/bin with:

ln -s /usr/local/opt/unzip/bin/unzip /usr/local/bin/unzip6

Now the system unzip should work with unzip and Version 6 will work with unzip6


You may find that p7zip does what you want. Use brew install p7zip to install, then run 7z -h to get some help.

I'm using 7z t on a 20GB zipfile as I write this, to test its integrity. Both Unzip 5.52 and Unzip 6.0 choked on it.