Skip to content

Commit bacc57a

Browse files
authored
Add SDKMAN to the Scala 3 download page (#1270)
1 parent 2c1afd5 commit bacc57a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

_includes/downloads-scala2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h2>Other ways to install Scala</h2>
6565
<a id="download-binaries">Download the Scala binaries for <span id="users-os"></span></a>
6666
<br/><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the binaries?</a></span>
6767
</li>
68-
<li>Using <a href="https://sdkman.io/">SDKMAN!</a>, you can easily <a href="https://sdkman.io/sdks#scala">install Scala</a> with <code>sdk install scala</code></li>
68+
<li>Using <a href="https://sdkman.io/">SDKMAN!</a>, you can easily <a href="https://sdkman.io/sdks#scala">install specific versions of Scala</a> on any platform with <code>sdk install scala {{ site.scalaversion }}</code></li>
6969
<li>On macOS you can also use <a href="https://brew.sh/">Homebrew</a> and existing <a href="https://formulae.brew.sh/formula/scala">Scala Formulae</a><br/><code>brew update</code><br/><code>brew install scala</code></li>
7070
<li>With <a href="https://www.macports.org/">MacPorts</a>, you can get Scala using <code>sudo port install scala2.x</code>command.<br/> For example to install Scala 2.12 simply use<code>sudo port install scala2.12</code></li>
7171
<li>Use <a href="https://scastie.scala-lang.org">Scastie</a> 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.</li>

_includes/downloads-scala3.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ <h2>Other ways to install Scala</h2>
119119
Download the Scala binaries for <strong>{{page.release_version}}</strong> at <a href="https://github.com/lampepfl/dotty/releases/tag/{{page.release_version}}">github</a>.
120120
<br/><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the binaries?</a></span>
121121
</li>
122-
<li>On macOS you can also use <a href="https://brew.sh/">Homebrew</a> and runthe following commands<br>
122+
<li>Using <a href="https://sdkman.io/">SDKMAN!</a>, you can easily <a href="https://sdkman.io/sdks#scala">install the latest version of Scala</a> on any platform by running the following command:<br>
123+
<code>sdk install scala</code>
124+
</li>
125+
<li>On macOS you can also use <a href="https://brew.sh/">Homebrew</a> and run the following commands:<br>
123126
<code>brew update</code><br/><code>brew install lampepfl/brew/dotty</code></li>
124127
<li>Use <a href="https://scastie.scala-lang.org/?target=scala3">Scastie</a> 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.</li>
125128
</ul>

0 commit comments

Comments
 (0)