-
Notifications
You must be signed in to change notification settings - Fork 325
Converge on one get-started instructions, recommend on landing page #1344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
- category: current_version | ||
title: Current 3.1.x release | ||
version: 3.1.1 | ||
release_date: February 1, 2022 | ||
- category: current_version | ||
title: Current 2.13.x release | ||
version: 2.13.8 | ||
release_date: January 12, 2022 | ||
- category: maintenance_version | ||
title: Latest 2.12.x maintenance release | ||
version: 2.12.15 | ||
release_date: September 14, 2021 | ||
- category: maintenance_version | ||
title: Last 2.11.x maintenance release | ||
version: 2.11.12 | ||
release_date: November 9, 2017 | ||
- category: maintenance_version | ||
title: Last 2.10.x maintenance release | ||
version: 2.10.7 | ||
release_date: November 9, 2017 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,56 @@ | ||
<div class="content-primary"> | ||
<div class="text-step"> | ||
|
||
<h3 id="other-releases">Other Releases</h3> | ||
{% if page.resources.size > 0 %} | ||
<h3>Other resources</h3> | ||
|
||
<p>You can find the installer download links for other operating systems, as well as documentation and source code | ||
archives for Scala {{page.release_version}} below.</p> | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th style="text-align: left">Archive</th> | ||
<th style="text-align: left">System</th> | ||
{% unless page.dont_show_sizes %} | ||
<th style="text-align: left">Size</th> | ||
{% endunless %} | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
{% for resource in page.resources %} | ||
<tr> | ||
<td style="text-align: left"> | ||
<a id="#link{{ resource[0] }}" href="{{ resource[2] }}"> | ||
{{ resource[1] }} | ||
</a> | ||
</td> | ||
<td style="text-align: left">{{ resource[3] }}</td> | ||
{% unless page.dont_show_sizes %} | ||
<td style="text-align: left">{{ resource[4] }}</td> | ||
{% endunless %} | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endif %} | ||
|
||
<h2 id="other-releases">Other Releases</h2> | ||
|
||
<p>You can find the links to prior versions or the latest development version below. | ||
To see a detailed list of changes for each version of Scala please refer to the <a href="{{ site.baseurl }}/download/changelog.html">changelog</a>.</p> | ||
|
||
<p>Note that different major releases of Scala (e.g. Scala 2.11.x and Scala 2.12.x) are not binary compatible with each other.</p> | ||
|
||
<ul> | ||
{% for release in page.other_releases %} | ||
<li>{{ release[1] }}: | ||
{% for release in site.data.scala-releases %} | ||
<li>{{ release.title }}: | ||
<ul> | ||
<li><a href="/download/{{ release[2] }}.html">Scala {{ release[2] }}</a> - Released on {{ release[3] }}</li> | ||
<li><a href="/download/{{ release.version }}.html">Scala {{ release.version }}</a> - Released on {{ release.release_date }}</li> | ||
</ul></li> | ||
{% endfor %} | ||
<li><a href="https://scala-lang.org/files/archive/nightly/">Nightly builds</a></li> | ||
<li><a href="/download/changelog.html">Changelog</a></li> | ||
<li><a href="/download/all.html">All previous releases</a></li> | ||
<li><a href="/download/all.html">All Scala releases</a></li> | ||
</ul> | ||
|
||
<h3>Other resources</h3> | ||
|
||
<p>You can find the installer download links for other operating systems, as well as documentation and source code archives for Scala {{page.release_version}} below.</p> | ||
|
||
<table> | ||
<thead><tr> | ||
<th style="text-align: left">Archive</th> | ||
<th style="text-align: left">System</th> | ||
{% unless page.dont_show_sizes %} | ||
<th style="text-align: left">Size</th> | ||
{% endunless %} | ||
</tr></thead> | ||
|
||
<tbody> | ||
{% for resource in page.resources %} | ||
<tr> | ||
<td style="text-align: left"> | ||
<a id="#link{{ resource[0] }}" href="{{ resource[2] }}"> | ||
{{ resource[1] }} | ||
</a> | ||
</td> | ||
<td style="text-align: left">{{ resource[3] }}</td> | ||
{% unless page.dont_show_sizes %} | ||
<td style="text-align: left">{{ resource[4] }}</td> | ||
{% endunless %} | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,49 @@ | ||
<h2>The most popular way to get Scala is either using Scala through sbt, the Scala build tool, or to use Scala through an IDE.</h2> | ||
<div class="install-steps"> | ||
<div class="step arrow"> | ||
<img src="/resources/img/download/arrow-asset.png" alt=""> | ||
<div class="number-step">1</div> | ||
<div class="text-step"> | ||
<h3>First, make sure you have the Java 8 JDK (or Java 11 JDK) installed.</h3> | ||
<p>To check, open the terminal and type:</p> | ||
<p><code>java -version</code><span>(Make sure you have version 1.8 or 11.)</span></p> | ||
<p><i>(If you don't have it installed, download Java from <a href="https://www.oracle.com/java/technologies/javase-jdk8-downloads.html">Oracle Java 8</a>, <a href="https://www.oracle.com/java/technologies/javase-jdk11-downloads.html">Oracle Java 11</a>, or <a href="https://adoptopenjdk.net/">AdoptOpenJDK 8/11</a>. Refer <a href="https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html">JDK Compatibility</a> for Scala/Java compatiblity detail.</i></p> | ||
</div> | ||
</div> | ||
<div class="step"> | ||
<div class="number-step">2</div> | ||
<div class="text-step"> | ||
<h3>Then, install Scala:</h3> | ||
<p>...either by installing an IDE such as IntelliJ, or sbt, Scala's build tool.</p> | ||
</div> | ||
</div> | ||
<div class="download-options"> | ||
<div class="download-left"> | ||
<span class="or">or</span> | ||
<div class="description"> | ||
<img src="/resources/img/download/arrow-left.png" alt=""> | ||
<p>Best if you prefer a full-featured IDE (recommended for beginners)</p> | ||
</div> | ||
<a href="https://www.jetbrains.com/idea" class="btn-download" id="download-intellij-link"> | ||
<i class="fa fa-download"></i> | ||
<span>Download intellij</span> | ||
</a> | ||
<ul> | ||
{% include tutorial-list.html column=1 %} | ||
</ul> | ||
</div> | ||
<div class="download-right"> | ||
<div class="description"> | ||
<img src="/resources/img/download/arrow-right.png" alt=""> | ||
<p>Best if you are familiar with the command line</p> | ||
</div> | ||
<a href="https://www.scala-sbt.org/download.html" class="btn-download" id="download-sbt-link"> | ||
<i class="fa fa-download"></i> | ||
<span>Download Sbt</span> | ||
</a> | ||
<ul> | ||
{% include tutorial-list.html column=0 %} | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<p class="bottom-lead"> | ||
Compared to other programming languages, installing Scala is a bit unusual. Scala is unusual because it is usually installed for each of your Scala projects rather than being installed system-wide. Both of the above options manage (via sbt) a specific Scala version per Scala project you create. | ||
<br><br> | ||
But it's also possible to "install" Scala in numerous other ways; e.g., grab Scala binaries and use Scala from the command line or use Scala in your browser! | ||
<br><br> | ||
</p> | ||
<p>Are you looking for <a href="{{ site.baseurl }}/download/all.html">another release</a> of Scala?</p> | ||
<h3>Release Notes</h3> | ||
For a summary of important changes, see the <a href="https://github.com/scala/scala/releases">GitHub release notes</a>. | ||
<br/><small>(Or consult our archive of <a href="{{ site.baseurl }}/blog/announcements/">older release | ||
notes</a>.)</small> | ||
|
||
<!-- <p class="bottom-lead"><h2>Other</h2></p> --> | ||
|
||
<div class="step other-ways-lead"> | ||
<div class="number-step"><i class="fa fa-ellipsis-h" aria-hidden="true"></i></div> | ||
<div class="text-step"> | ||
<h2>Other ways to install Scala</h2> | ||
<ul> | ||
<li> | ||
<a id="download-binaries">Download the Scala binaries for <span id="users-os"></span></a> | ||
<br/><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the binaries?</a></span> | ||
</li> | ||
<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> | ||
<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> | ||
<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> | ||
<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> | ||
<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> | ||
<li><a href="https://ammonite.io/">Get Ammonite</a>, a popular Scala REPL</li> | ||
</ul> | ||
<p>Or are you looking for <a href="{{ site.baseurl }}/download/all.html">previous releases</a> of Scala?</p> | ||
</div> | ||
<div class="install-steps"> | ||
<div class="text-step"> | ||
<h2>Ways to Install This Release</h2> | ||
<ul> | ||
<li> | ||
Using <a | ||
href="https://docs.scala-lang.org/getting-started/index.html#using-the-scala-installer-recommended-way">Coursier | ||
CLI</a>, run:<br> | ||
<code>cs install scala:{{ page.release_version }} && cs install scalac:{{ page.release_version }}</code>. | ||
</li> | ||
<li> | ||
<a id="download-binaries">Download the Scala binaries for <span id="users-os"></span></a> | ||
<br /><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the | ||
binaries?</a></span> | ||
</li> | ||
<li><a href="/documentation/getting-started-intellij-track/getting-started-with-scala-in-intellij.html">Download and | ||
use Scala</a><span> with </span><a href="https://www.jetbrains.com/idea">IntelliJ</a><span> and then </span><a | ||
href="/documentation/getting-started-intellij-track/building-a-scala-project-with-intellij-and-sbt.html">build a | ||
project</a><span>, then </span><a | ||
href="/documentation/getting-started-intellij-track/testing-scala-in-intellij-with-scalatest.html">test it.</a> | ||
</li> | ||
<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> | ||
<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> | ||
<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> | ||
<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> | ||
<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> | ||
<li><a href="https://ammonite.io/">Get Ammonite</a>, a popular Scala REPL</li> | ||
</ul> | ||
</div> | ||
|
||
|
||
<h3>Release Notes</h3> | ||
For a summary of important changes, see the <a href="https://github.com/scala/scala/releases">GitHub release notes</a>. | ||
<br/><small>(Or consult our archive of <a href="{{ site.baseurl }}/blog/announcements/">older release notes</a>.)</small> | ||
|
||
{% include download-resource-list.html %} | ||
<h3>License</h3> | ||
<p>The Scala distribution is released under the {{page.license}}.</p> | ||
</div> | ||
<h3>License</h3> | ||
<p>The Scala {{ page.release_version }} distribution is released under the {{page.license}}.</p> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.