From 4c1cf8e7def180d18f5219e5ce5b40876b616168 Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Wed, 18 Aug 2021 09:05:56 +0100 Subject: [PATCH 1/3] Update SDKMAN section on Scala 2 download page. --- _includes/downloads-scala2.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/downloads-scala2.html b/_includes/downloads-scala2.html index c8c99a7b9..2fce26be0 100644 --- a/_includes/downloads-scala2.html +++ b/_includes/downloads-scala2.html @@ -65,7 +65,7 @@

Other ways to install Scala

Download the Scala binaries for
Need help running the binaries? -
  • Using SDKMAN!, you can easily install Scala with sdk install scala
  • +
  • Using SDKMAN!, you can easily install specific versions of Scala on any platform with sdk install scala 2.13.6
  • On macOS you can also use Homebrew and existing Scala Formulae
    brew update
    brew install scala
  • With MacPorts, you can get Scala using sudo port install scala2.xcommand.
    For example to install Scala 2.12 simply usesudo port install scala2.12
  • Use Scastie to run single-file Scala programs in your browser using multiple Scala compilers; the production Scala 2.x compilers, Scala.js, Dotty, and Typelevel Scala. Save and share executable Scala code snippets.
  • From 82044efac1b244ef918aaede0a725e87f1e1c4c8 Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Wed, 18 Aug 2021 09:07:29 +0100 Subject: [PATCH 2/3] Add SDKMAN section on Scala 3 download page. --- _includes/downloads-scala3.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_includes/downloads-scala3.html b/_includes/downloads-scala3.html index 6764638f1..c7b633e86 100644 --- a/_includes/downloads-scala3.html +++ b/_includes/downloads-scala3.html @@ -119,7 +119,10 @@

    Other ways to install Scala

    Download the Scala binaries for {{page.release_version}} at github.
    Need help running the binaries? -
  • On macOS you can also use Homebrew and runthe following commands
    +
  • Using SDKMAN!, you can easily install the latest version of Scala on any platform by running the following command:
    + sdk install scala +
  • +
  • On macOS you can also use Homebrew and run the following commands:
    brew update
    brew install lampepfl/brew/dotty
  • Use Scastie to run single-file Scala programs in your browser using multiple Scala compilers; the production Scala 2.x compilers, Scala.js, Scala 3, and Typelevel Scala. Save and share executable Scala code snippets.
  • From b7dbd572e1e8f233b1c3253fb32c44594c47ba61 Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Thu, 19 Aug 2021 12:06:49 +0100 Subject: [PATCH 3/3] Use `scalaversion` for explicit Scala 2 installation with SDKMAN.. Co-authored-by: Julien Richard-Foy --- _includes/downloads-scala2.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/downloads-scala2.html b/_includes/downloads-scala2.html index 2fce26be0..f06235318 100644 --- a/_includes/downloads-scala2.html +++ b/_includes/downloads-scala2.html @@ -65,7 +65,7 @@

    Other ways to install Scala

    Download the Scala binaries for
    Need help running the binaries? -
  • Using SDKMAN!, you can easily install specific versions of Scala on any platform with sdk install scala 2.13.6
  • +
  • Using SDKMAN!, you can easily install specific versions of Scala on any platform with sdk install scala {{ site.scalaversion }}
  • On macOS you can also use Homebrew and existing Scala Formulae
    brew update
    brew install scala
  • With MacPorts, you can get Scala using sudo port install scala2.xcommand.
    For example to install Scala 2.12 simply usesudo port install scala2.12
  • Use Scastie to run single-file Scala programs in your browser using multiple Scala compilers; the production Scala 2.x compilers, Scala.js, Dotty, and Typelevel Scala. Save and share executable Scala code snippets.