Add some basic documentation for the arv subcommands.
[arvados.git] / doc / sdk / cli / install.html.textile.liquid
diff --git a/doc/sdk/cli/install.html.textile.liquid b/doc/sdk/cli/install.html.textile.liquid
new file mode 100644 (file)
index 0000000..ff19428
--- /dev/null
@@ -0,0 +1,42 @@
+---
+layout: default
+navsection: sdk
+navmenu: CLI
+title: "Installation"
+
+...
+
+If you are logged in to an Arvados VM, the @arv@ tool should be installed.
+
+To use @arv@ elsewhere, you can either install the @arvados-cli@ gem via RubyGems or build and install the package from source.
+
+h4. Prerequisites: Ruby >= 2.1.0 and curl libraries
+
+Make sure you have "Ruby and bundler":/install/install-manual-prerequisites-ruby.html installed.
+
+Install curl libraries with your system's package manager. For example, on Debian or Ubuntu:
+
+<notextile>
+<pre>
+$ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev</code>
+</pre>
+</notextile>
+
+h4. Option 1: install with RubyGems
+
+<notextile>
+<pre>
+$ <code class="userinput">sudo gem install arvados-cli</code>
+</pre>
+</notextile>
+
+h4. 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>
+</pre>
+</notextile>