Skip to content

Commit 0d809ad

Browse files
authored
Merge pull request #968 from kamilduda/issue/966
Add Scala installation instructions for Homebrew and MacPorts
2 parents ad367bf + 605f5ba commit 0d809ad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_layouts/downloadpage.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,10 @@ <h2>Other ways to install Scala</h2>
8383
<a id="download-binaries">Download the Scala binaries for <span id="users-os"></span></a>
8484
<br/><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the binaries?</a></span>
8585
</li>
86-
<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>
87-
<li>Use <a href="https://scastie.scala-lang.org">Scastie</a> to run single-file Scala programs in your browser using multple Scala compilers; the production Scala 2.x compilers, Scala.js, Dotty, and Typelevel Scala. Save and share executable Scala code snippets.</li>
86+
<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>
87+
<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>
88+
<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>
89+
<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>
8890
<li>Try Scala in the browser via <a href="https://scalafiddle.io/">ScalaFiddle</a>. This lets you run single-file Scala programs in your browser using Scala.js, including graphical/interactive examples such as <a href="https://scalafiddle.io/sf/KOsXSKv/0">Oscilloscope</a> or <a href="https://scalafiddle.io/sf/4beVrVc/1">Ray Tracer</a></li>
8991
<li><a href="http://ammonite.io/">Get Ammonite</a>, a popular Scala REPL</li>
9092
</ul>

0 commit comments

Comments
 (0)