我正在尝试brew install sbt
并获得此信息:
==> Downloading http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.5/sbt-launch.jar
curl: (22) The requested URL returned error: 404 Not Found Error:
Failed to download resource "sbt" Download failed:
http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.5/sbt-launch.jar
任何想法如何解决?
答案 0 :(得分:1)
我不想全局安装它。使用:
$ cat get_sbt.sh
#!/bin/bash
curl -s https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt > sbt \
&& chmod 0755 sbt
然后运行:
./sbt
它将为您下载最新版本。