How to install an older version of scala

后端 未结 5 1055
一向
一向 2021-02-02 09:59

I currently had installed scala 2.11.7 but in order to fix this issue, I have to install a older version of scala(2.10.5). When I try to install with b

5条回答
  •  一个人的身影
    2021-02-02 10:55

    brew search scala
    

    then you will find all the available versions like below

    scala                     scala@2.10                scala@2.11                scalaenv                  scalariform               scalastyle
    homebrew/science/scalapack                                                     Caskroom/cask/scala-ide
    

    Then choose whichever version you want to install. say if you want to install scala 2.11 then you can do that by runnig the command like below

    brew install scala@2.11
    

提交回复
热议问题