Page 1 of 1

All tools installable via Homebrew

PostPosted: Thu Jan 16, 2020 6:19 pm
by platformbinary
For Homebrew users out there you may not be aware that All of J's tools (afaik) are available via homebrew-cask. This is great news for those who like to automate setup of their research environments or who just like the convenience of a one-liner command to install and upgrade tools.

For those who aren't familiar with how casks work, the tools downloaded from newosxbook.com (or whatever URL they normally live at) just as always. Casks just automate the download and installation parts.

If you're a homebrew user, I highly encourage you to use this installation method. Much of the resistance to adding the most recent cask was (rightly) around lack of popularity of the other tools. They have thousands of casks to maintain and ones that barely get used are a liability.

Tools you can install:

  • filemon
  • hfsleuth
  • jtool
  • jtool2
  • joker
  • procexp
  • simplistic

Just do:
Code: Select all
$ brew cask install filemon hfsleuth jtool jtool2 joker procexp simplistic


Please let me know if there are any missing.

Because brew-cask applies the quarantine attribute to all installed casks, you'll need to do one of two things, or the tools won't run:
Code: Select all
$ # prevent quarantine attribute from being applied using the --no-quarantine option
$ brew cask install filemon hfsleuth jtool jtool2 joker procexp simplistic


Or:
Code: Select all
$ # Remove the quarantine attribute after installation
$ for cask in filemon hfsleuth jtool jtool2 joker procexp simplistic; \
  do \
    xattr -r -d com.apple.quarantine  $(brew --prefix)/Caskroom/${cask}; \
  done


Also, since the tools don't have explicit versions, they're ignored during upgrades. You need to upgrade with '--force' to pick up any updates, e.g.:
Code: Select all
$ brew cask upgrade --no-quarantine --force jtool2


Cheers!