9369: Update CLI install documentation to include arvados-cwl-runner (& arvados-pytho...
[arvados.git] / doc / sdk / cli / install.html.textile.liquid
index 7ef45aa30dbf090347739731aca0d1514128601a..eff019a7fdaa99403ae67732eb4d2da9f6071d65 100644 (file)
@@ -6,7 +6,7 @@ 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, you can either install the @arvados-python-client@ and @arvados-cwl-runner@ from PyPi or install the packages from source.
 
 h3. Prerequisites: Ruby, Bundler, and curl libraries
 
@@ -20,11 +20,17 @@ $ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4
 </pre>
 </notextile>
 
-h3. Option 1: Install with RubyGems
+h3. Option 1: Install from RubyGems and PyPi
 
 <notextile>
 <pre>
-$ <code class="userinput">sudo -i gem install arvados-cli</code>
+arvados/sdk/cli$ <code class="userinput">sudo -i gem install arvados-cli</code>
+</pre>
+</notextile>
+
+<notextile>
+<pre>
+arvados/sdk/cli$ <code class="userinput">sudo -i pip install arvados-python-client arvados-cwl-runner</code>
 </pre>
 </notextile>
 
@@ -38,3 +44,17 @@ $ <code class="userinput">gem build arvados-cli.gemspec</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>