Skip to content

Commit 15ba133

Browse files
committed
update install instructions for coursier
Use the same instructions as listed on the official Coursier website, as git.io short url service is no longer maintained.
1 parent 4364c10 commit 15ba133

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

_includes/_ja/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Scala をインストールすると、コンパイラやビルドツールな
1414

1515
### Scala インストーラーを使う(推奨)
1616

17-
Scala のインストーラーは[Coursier](https://get-coursier.io/docs/cli-overview)というツールで、コマンドは`cs`です。このツールを使うと、JVM と標準 Scala ツールがシステムにインストールされます。
17+
Scala のインストーラーは[Coursier](https://get-coursier.io/docs/cli-overview)というツールで、コマンドは`cs`です。このツールを使うと、JVM と標準 Scala ツールがシステムにインストールされます。
1818
以下の手順でお使いのシステムにインストールしてください。
1919

2020
<div class="main-download">
@@ -146,7 +146,7 @@ Scala について日本語で質問したい場合、Twitterでつぶやくと
146146
-- This is handled in `resources/js/functions.js`.
147147
-->
148148
<div style="display:none" id="stepOne-linux">
149-
<code class="hljs">$ curl -fLo cs https://git.io/coursier-cli-linux && chmod +x cs && ./cs setup </code> <br>
149+
<code class="hljs">$ curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup</code> <br>
150150
</div>
151151
152152
<div style="display:none" id="stepOne-unix">
@@ -160,10 +160,10 @@ Scala について日本語で質問したい場合、Twitterでつぶやくと
160160
</div>
161161
<p>または、Homebrewを使用しない場合は</p>
162162
<div class="highlight">
163-
<code class="hljs">$ curl -fLo cs https://git.io/coursier-cli-macos && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup</code> <br>
163+
<code class="hljs">$ 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</code> <br>
164164
</div>
165165
</div>
166166
167167
<div style="display:none" id="stepOne-windows">
168-
<p><a href="https://git.io/coursier-cli-windows-exe">the Scala installer for Windows</a>を、ダウンロードして実行してください。</p>
168+
<p><a href="https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-win32.zip">the Scala installer for Windows</a>を、ダウンロードして実行してください。</p>
169169
</div>

_includes/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ There are a multitude of mailing lists and real-time chat rooms in case you want
170170
-- This is handled in `resources/js/functions.js`.
171171
-->
172172
<div style="display:none" id="stepOne-linux">
173-
<code class="hljs">$ curl -fLo cs https://git.io/coursier-cli-linux && chmod +x cs && ./cs setup </code> <br>
173+
<code class="hljs">$ curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup</code><br>
174174
</div>
175175
176176
<div style="display:none" id="stepOne-unix">
@@ -184,10 +184,10 @@ There are a multitude of mailing lists and real-time chat rooms in case you want
184184
</div>
185185
<p>Alternatively, if you don't use Homebrew</p>
186186
<div class="highlight">
187-
<code class="hljs">$ curl -fLo cs https://git.io/coursier-cli-macos && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup</code> <br>
187+
<code class="hljs">$ 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</code> <br>
188188
</div>
189189
</div>
190190
191191
<div style="display:none" id="stepOne-windows">
192-
<p>Download and execute <a href="https://git.io/coursier-cli-windows-exe">the Scala installer for Windows</a> based on coursier</p>
192+
<p>Download and execute <a href="https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-win32.zip">the Scala installer for Windows</a> based on coursier</p>
193193
</div>

0 commit comments

Comments
 (0)