forked from scala/scala-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1-macos.html
24 lines (24 loc) · 930 Bytes
/
1-macos.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
tabId: macos
tabLabel: macOS
---
<div class="text-step wrap-inline">
<div class="wrap">
<p>Run the following command in your terminal, following the on-screen instructions:</p>
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
{% assign homebrewAlt = "Alternatively for Apple Silicon, or if you don't use Homebrew:" %}
{% capture homebrewDetail %}
<div class="wrap-narrow">
<p>On the Apple Silicon (M1, M2, …) architecture:</p>
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-arm64 %}
<p>Otherwise, on the x86-64 architecture:</p>
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-x86-64 %}
</div>
{% endcapture %}
{% include alt-details.html
id='cs-setup-macos-nobrew'
title=homebrewAlt
detail=homebrewDetail
%}
</div>
</div>