File tree 3 files changed +14
-6
lines changed
3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
- linux : curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
2
- macOS-default : curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
1
+ linux-x86-64 : curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
2
+ linux-arm64 : curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
3
+ macOS-x86-64 : curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
4
+ macOS-arm64 : curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
3
5
macOS-brew : brew install coursier/formulas/coursier && cs setup
4
6
windows-link : https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-win32.zip
Original file line number Diff line number Diff line change 6
6
< div class ="wrap ">
7
7
< p > Run the following command in your terminal, following the on-screen instructions:</ p >
8
8
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
9
- {% assign homebrewAlt = "Alternatively, if you don't use Homebrew:" %}
9
+ {% assign homebrewAlt = "Alternatively for Apple Silicon, or if you don't use Homebrew:" %}
10
10
{% capture homebrewDetail %}
11
11
< div class ="wrap-narrow ">
12
- {% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-default %}
12
+ < p > On the Apple Silicon (M1, M2, …) architecture:</ p >
13
+ {% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-arm64 %}
14
+ < p > Otherwise, on the x86-64 architecture:</ p >
15
+ {% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-x86-64 %}
13
16
</ div >
14
17
{% endcapture %}
15
18
{% include alt-details.html
Original file line number Diff line number Diff line change 4
4
---
5
5
< div class ="text-step wrap-inline ">
6
6
< div class ="wrap ">
7
- < p > Run the following command in your terminal, following the on-screen instructions:</ p >
8
- {% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux %}
7
+ < p > Run the following command in your terminal, following the on-screen instructions.</ p >
8
+ < p > On the x86-64 architecture:</ p >
9
+ {% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-x86-64 %}
10
+ < p > Otherwise, on the ARM64 architecture:</ p >
11
+ {% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.linux-arm64 %}
9
12
</ div >
10
13
</ div >
You can’t perform that action at this time.
0 commit comments