9369: Copyedits throughout the CWL documentation.
[arvados.git] / doc / sdk / cli / install.html.textile.liquid
index df5507702443103be54c9db56122404c9de9b05b..53821b52643db5cb68812009dc37ce3755118bfb 100644 (file)
@@ -6,11 +6,11 @@ title: "Installation"
 
 ...
 
-To use the @arv@ command, you can either install the @arvados-cli@ gem via RubyGems or build and install the package from source.
+Arvados CLI tools are written in Ruby and Python.  To use the @arv@ command, you can either install the @arvados-cli@ gem via RubyGems or build and install the package from source.  The @arv@ command also relies on other Arvados tools.  To get those, you can either install the @arvados-python-client@ and @arvados-cwl-runner@ from PyPI or install the packages from source.
 
-h4. Prerequisites: Ruby >= 2.1.0 and curl libraries
+h3. Prerequisites: Ruby, Bundler, and curl libraries
 
-Make sure you have "Ruby and bundler":{{site.baseurl}}/install/install-manual-prerequisites-ruby.html installed.
+{% include 'install_ruby_and_bundler' %}
 
 Install curl libraries with your system's package manager. For example, on Debian or Ubuntu:
 
@@ -20,21 +20,41 @@ $ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4
 </pre>
 </notextile>
 
-h4. Option 1: install with RubyGems
+h3. Option 1: Install from RubyGems and PyPI
 
 <notextile>
 <pre>
-$ <code class="userinput">sudo gem install arvados-cli</code>
+arvados/sdk/cli$ <code class="userinput">sudo -i gem install arvados-cli</code>
 </pre>
 </notextile>
 
-h4. Option 2: build and install from source
+<notextile>
+<pre>
+arvados/sdk/cli$ <code class="userinput">sudo -i pip install arvados-python-client arvados-cwl-runner</code>
+</pre>
+</notextile>
+
+h3. Option 2: Build and install from source
 
 <notextile>
 <pre>
 $ <code class="userinput">git clone https://github.com/curoverse/arvados.git</code>
 $ <code class="userinput">cd arvados/sdk/cli</code>
 $ <code class="userinput">gem build arvados-cli.gemspec</code>
-$ <code class="userinput">sudo gem install arvados-cli-*.gem</code>
+$ <code class="userinput">sudo -i gem install arvados-cli-*.gem</code>
+</pre>
+</notextile>
+
+<notextile>
+<pre>
+$ <code class="userinput">cd arvados/sdk/python</code>
+$ <code class="userinput">sudo -i python setup.py install</code>
+</pre>
+</notextile>
+
+<notextile>
+<pre>
+$ <code class="userinput">cd arvados/sdk/cwl</code>
+$ <code class="userinput">sudo -i python setup.py install</code>
 </pre>
 </notextile>