Skip to content

Instantly share code, notes, and snippets.

@anselm94
Last active January 21, 2020 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anselm94/86a2bc6d8a06d8e0721b3c8fd6752372 to your computer and use it in GitHub Desktop.
Save anselm94/86a2bc6d8a06d8e0721b3c8fd6752372 to your computer and use it in GitHub Desktop.
Script to install PhantomJS 1.9.7 in macOS

Install phantomjs v1.9.7 in macOS

brew tap homebrew/cask
brew cask install https://gist.githubusercontent.com/anselm94/86a2bc6d8a06d8e0721b3c8fd6752372/raw/4ea5238e892e5dd5bb630ae604033705489e320e/phantomjs-1.9.7.rb
cask 'phantomjs' do
version '1.9.7'
sha256 '72731f8ff68db17ecb5f6c78bf036adb429317b9bdbe69e2f5f60514fa7e4a6f'
# bitbucket.org is the official download host per the vendor homepage
url "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-macosx.zip"
name 'PhantomJS'
homepage 'http://phantomjs.org/'
license :bsd
binary "phantomjs-1.9.7-macosx/bin/phantomjs"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment