Skip to content

Commit 1a863a3

Browse files
committed
Remove pipe to bash example. Fixes exercism/cli#81
This discourages the use of the install script, setting it as a last resort, with a warning to read the script before they run it.
1 parent 7c3caa1 commit 1a863a3

1 file changed

Lines changed: 27 additions & 10 deletions

File tree

public/index.html

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,45 @@ <h2>About the CLI</h2>
5151
<p><code>exercism</code> is a command line tool to interact with <a href="http://exercism.io">exercism.io</a>.</p>
5252
<p>It is written in Go, but you do not need to install Go (or any other language) in order to use it.</p>
5353

54-
<p>On Mac OS X or Linux you can install the CLI with the following command [<a href="/install">view source</a>]:</p>
54+
55+
<h3>Download the CLI</h3>
56+
57+
<p>Download the <a href="https://github.com/exercism/cli/releases/latest">latest release</a> and place the binary in your <code>PATH</code>.</p>
58+
59+
<h3>Installing with Homebrew</h3>
60+
<p>If you have homebrew installed, then you can install the CLI with the following command:</p>
5561

5662
<pre class="content-code">
57-
$ curl -s http://cli.exercism.io/install | sh
63+
$ brew tap homebrew/binary
64+
$ brew install exercism
5865
</pre>
5966

60-
<p>By default, the installer will try to put it in `/usr/local/bin/` or `$HOME/bin`.</p>
61-
<p>If you'd like it to live somewhere else, you can specify it up front:</p>
67+
<h3>Arch User Repository (AUR)</h3>
68+
69+
<p>The CLI is available via AUR.</p>
70+
71+
<h3>Or... Use the Install Script</h3>
72+
73+
<p>On Mac OS X or Linux, as a last resort, you can download the [<a href="/install">install script</a>], and run it locally.</p>
6274

6375
<pre class="content-code">
64-
$ curl -s http://cli.exercism.io/install | DIR=/path/to/bin sh
76+
$ curl -O http://cli.exercism.io/install
77+
$ chmod +x install
6578
</pre>
6679

67-
<p>Or, download the <a href="https://github.com/exercism/cli/releases/latest">latest release</a> and place the binary in your <code>PATH</code>.</p>
80+
<pre class="content-code">
81+
$ wget http://cli.exercism.io/install
82+
$ chmod +x install
83+
</pre>
84+
<p><b>Read it before you run it, people.</b></p>
6885

69-
<h3>Installing with Homebrew</h3>
70-
<p>If you have homebrew installed, then you can install the CLI with the following command:</p>
86+
<p>By default, the installer will try to put it in `/usr/local/bin/` or `$HOME/bin`.</p>
87+
<p>If you'd like it to live somewhere else, you can specify it up front:</p>
7188

7289
<pre class="content-code">
73-
$ brew tap homebrew/binary
74-
$ brew install exercism
90+
$ DIR=/path/to/bin ./install
7591
</pre>
92+
7693
</div>
7794
</article>
7895

0 commit comments

Comments
 (0)