|
3 | 3 | ---
|
4 | 4 |
|
5 | 5 | <section class="books">
|
6 |
| - <div class="wrap"> |
7 |
| - <div class="inner-box download"> |
8 |
| - <div class="content-ribbon"> |
9 |
| - <div class="ribbon-version"> |
10 |
| - <span>{{page.release_version}}</span> |
11 |
| - </div> |
12 |
| - <ul> |
13 |
| - <li><a href="/download/changelog/">Release Notes</a></li> |
14 |
| - <li class="dot">•</li> |
15 |
| - <li><a href="/download/changelog/">Changelog</a></li> |
16 |
| - </ul> |
17 |
| - </div> |
18 |
| - <div class="main-download"> |
19 |
| - <h2>Compared to other programming languages, installing Scala is a bit unusual. It's possible to "install" Scala in numerous ways.</h2> |
20 |
| - <div class="install-steps"> |
21 |
| - <div class="step"> |
22 |
| - <img src="/resources/img/download/arrow-asset.png" alt=""> |
23 |
| - <div class="number-step">1</div> |
24 |
| - <div class="text-step" id="download-step-one"> |
25 |
| - <h3>First, make sure you have the Java 8 JDK installed.</h3> |
26 |
| - <p><code>java -version</code><span>(Make sure you have version 1.8.)</span></p> |
27 |
| - </div> |
28 |
| - </div> |
29 |
| - <div class="step"> |
30 |
| - <div class="number-step">2</div> |
31 |
| - <div class="text-step"> |
32 |
| - <h3>Then, install Scala using:</h3> |
33 |
| - </div> |
34 |
| - </div> |
35 |
| - <div class="download-options"> |
36 |
| - <div class="download-intellij"> |
37 |
| - <span class="or">or</span> |
38 |
| - <div class="description"> |
39 |
| - <img src="/resources/img/download/arrow-left.png" alt=""> |
40 |
| - <p>Best if you prefer a full-featured IDE (recommended for beginners)</p> |
41 |
| - </div> |
42 |
| - <a href="" class="btn-download" id="download-intellij-link"> |
43 |
| - <i class="fa fa-download"></i> |
44 |
| - <span>Download intellij</span> |
45 |
| - </a> |
46 |
| - <ul> |
47 |
| - {% include tutorial-list.html column=1 %} |
48 |
| - </ul> |
49 |
| - </div> |
50 |
| - <div class="download-sbt"> |
51 |
| - <div class="description"> |
52 |
| - <img src="/resources/img/download/arrow-right.png" alt=""> |
53 |
| - <p>Best if you are familiar with the command line</p> |
54 |
| - </div> |
55 |
| - <a href="" class="btn-download" id="download-sbt-link"> |
56 |
| - <i class="fa fa-download"></i> |
57 |
| - <span>Download Sbt</span> |
58 |
| - </a> |
59 |
| - <ul> |
60 |
| - {% include tutorial-list.html column=0 %} |
61 |
| - </ul> |
62 |
| - </div> |
63 |
| - </div> |
64 |
| - <p class="bottom-lead">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 a specific Scala version per Scala project you create.</p> |
| 6 | + <div class="wrap"> |
| 7 | + <div class="inner-box download"> |
| 8 | + <div class="content-ribbon"> |
| 9 | + <div class="ribbon-version"> |
| 10 | + <span>{{page.release_version}}</span> |
| 11 | + </div> |
| 12 | + <ul> |
| 13 | + <li><a href="/download/changelog/">Release Notes</a></li> |
| 14 | + <li class="dot">•</li> |
| 15 | + <li><a href="/download/changelog/">Changelog</a></li> |
| 16 | + </ul> |
| 17 | + </div> |
| 18 | + <div class="main-download"> |
| 19 | + <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> |
| 20 | + <div class="install-steps"> |
| 21 | + <div class="step"> |
| 22 | + <img src="/resources/img/download/arrow-asset.png" alt=""> |
| 23 | + <div class="number-step">1</div> |
| 24 | + <div class="text-step"> |
| 25 | + <h3>First, make sure you have the Java 8 JDK installed.</h3> |
| 26 | + <p><code>java -version</code><span>(Make sure you have version 1.8.)</span></p> |
| 27 | + <p><i>(If you don't have it installed, <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">download Java here</a>.)</i></p> |
| 28 | + </div> |
| 29 | + </div> |
| 30 | + <div class="step"> |
| 31 | + <div class="number-step">2</div> |
| 32 | + <div class="text-step"> |
| 33 | + <h3>Then, install Scala:</h3> |
| 34 | + <p>...either by installing an IDE such as IntelliJ, or sbt, Scala's build tool.</p> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + <div class="download-options"> |
| 38 | + <div class="download-intellij"> |
| 39 | + <span class="or">or</span> |
| 40 | + <div class="description"> |
| 41 | + <img src="/resources/img/download/arrow-left.png" alt=""> |
| 42 | + <p>Best if you prefer a full-featured IDE (recommended for beginners)</p> |
| 43 | + </div> |
| 44 | + <a href="" class="btn-download" id="download-intellij-link"> |
| 45 | + <i class="fa fa-download"></i> |
| 46 | + <span>Download intellij</span> |
| 47 | + </a> |
| 48 | + <ul> |
| 49 | + {% include tutorial-list.html column=1 %} |
| 50 | + </ul> |
| 51 | + </div> |
| 52 | + <div class="download-sbt"> |
| 53 | + <div class="description"> |
| 54 | + <img src="/resources/img/download/arrow-right.png" alt=""> |
| 55 | + <p>Best if you are familiar with the command line</p> |
| 56 | + </div> |
| 57 | + <a href="" class="btn-download" id="download-sbt-link"> |
| 58 | + <i class="fa fa-download"></i> |
| 59 | + <span>Download Sbt</span> |
| 60 | + </a> |
| 61 | + <ul> |
| 62 | + {% include tutorial-list.html column=0 %} |
| 63 | + </ul> |
| 64 | + </div> |
| 65 | + </div> |
65 | 66 |
|
66 |
| - <h3>Release Notes</h3> For a summary of important changes, see the <a href="https://github.com/scala/scala/releases">GitHub release notes</a>. |
67 |
| - <small>(Or consult our archive of <a href="{{ site.baseurl }}/news#announcements--changelog">older release notes</a>.)</small> |
| 67 | + <p class="bottom-lead"> |
| 68 | + 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. |
| 69 | + <br><br> |
| 70 | + 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! |
| 71 | + <br><br> |
| 72 | + </p> |
68 | 73 |
|
69 |
| - {% include download-resource-list.html %} |
70 |
| - <h3>License</h3> |
71 |
| - <p>The Scala distribution is released under the <a href="{{ site.baseurl }}/license/">3-clause BSD license</a>.</p> |
72 |
| - </div> |
| 74 | + <!-- <p class="bottom-lead"><h2>Other</h2></p> --> |
73 | 75 |
|
74 |
| - </div> |
75 |
| - </div> |
76 |
| - </div> |
| 76 | + <div class="step other-ways-lead"> |
| 77 | + <div class="number-step"><i class="fa fa-ellipsis-h" aria-hidden="true"></i></div> |
| 78 | + <div class="text-step"> |
| 79 | + <h2>Other ways to install Scala</h2> |
| 80 | + <ul> |
| 81 | + <li> |
| 82 | + <a id="download-binaries">Download the Scala binaries for <span id="users-os"></span></a> |
| 83 | + <br/><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the binaries?</span> |
| 84 | + </li> |
| 85 | + <li>Use <a href="https://scastie.scala-lang.org">Scastie</a> to run single-file Scala programs in your browser.</li> |
| 86 | + <li><a href="http://ammonite.io/">Get Ammonite</a>, a popular Scala REPL</li> |
| 87 | + </ul> |
| 88 | + <p>Or are you looking for <a href="{{ site.baseurl }}/download/all.html">previous releases</a> of Scala?</p> |
| 89 | + </div> |
| 90 | + </div> |
77 | 91 |
|
78 |
| - {% for step in site.data.downloads.stepOne %} |
79 |
| - <div style="display:none" id="stepOne-{{step.os}}">{{step.text}}</div> |
80 |
| - {% endfor %} {% for intellijUrl in site.data.downloads.intellijUrls %} |
81 |
| - <div style="display:none" id="intellij-{{intellijUrl.os}}">{{intellijUrl.url}}</div> |
82 |
| - {% endfor %} {% for sbtUrl in site.data.downloads.sbtUrls %} |
83 |
| - <div style="display:none" id="sbt-{{sbtUrl.os}}">{{sbtUrl.url}}</div> |
84 |
| - {% endfor %} |
| 92 | + |
| 93 | + <h3>Release Notes</h3> |
| 94 | + For a summary of important changes, see the <a href="https://github.com/scala/scala/releases">GitHub release notes</a>. |
| 95 | + <br/><small>(Or consult our archive of <a href="{{ site.baseurl }}/news#announcements--changelog">older release notes</a>.)</small> |
| 96 | + |
| 97 | + {% include download-resource-list.html %} |
| 98 | + <h3>License</h3> |
| 99 | + <p>The Scala distribution is released under the <a href="{{ site.baseurl }}/license/">3-clause BSD license</a>.</p> |
| 100 | + </div> |
| 101 | + |
| 102 | + </div> |
| 103 | + </div> |
| 104 | + </div> |
| 105 | + |
| 106 | + {% for step in site.data.downloads.stepOne %} |
| 107 | + <div style="display:none" id="stepOne-{{step.os}}">{{step.text}}</div> |
| 108 | + {% endfor %} {% for intellijUrl in site.data.downloads.intellijUrls %} |
| 109 | + <div style="display:none" id="intellij-{{intellijUrl.os}}">{{intellijUrl.url}}</div> |
| 110 | + {% endfor %} {% for sbtUrl in site.data.downloads.sbtUrls %} |
| 111 | + <div style="display:none" id="sbt-{{sbtUrl.os}}">{{sbtUrl.url}}</div> |
| 112 | + {% endfor %} |
85 | 113 | </section>
|
0 commit comments