安装phantomjs的旧版本

安装phantomjs的旧版本,phantomjs,homebrew,Phantomjs,Homebrew,我想安装phantomjs(1.9.1)的旧版本。如果我跑 brew install phantomjs 它将安装新版本(2.0.0)。您可以在存储库中找到受支持的早期版本。1.9.1没有公式,但您可以使用brew安装自制/versions/phantomjs192安装1.9.2。(如果您确实需要,可以为1.9.1提供一个。)您可以使用brew search phantomjs查找版本化公式。请尝试以下命令: brew install https://raw.githubusercontent

我想安装phantomjs(1.9.1)的旧版本。如果我跑

brew install phantomjs

它将安装新版本(2.0.0)。

您可以在存储库中找到受支持的早期版本。1.9.1没有公式,但您可以使用
brew安装自制/versions/phantomjs192
安装1.9.2。(如果您确实需要,可以为1.9.1提供一个。)您可以使用
brew search phantomjs

查找版本化公式。请尝试以下命令:

brew install https://raw.githubusercontent.com/Homebrew/homebrew-versions/master/phantomjs182.rb
curl:(22)请求的URL返回错误:404未找到错误:执行时失败:/usr/bin/curl--远程时间--位置--用户代理Homebrew/1.2.0\(Macintosh;\Intel\Mac\OS\X\10.12.4)\curl/7.51.0--进度条--失败-o/Users/petercormack/Library/Caches/Homebrew/Formula/phantomjs182.rb[~/蜻蜓(照片下载)]