Add 'apps/arv-web/' from commit 'f9732ad8460d013c2f28363655d0d1b91894dca5'
[arvados.git] / doc / sdk / cli / install.html.textile.liquid
1 ---
2 layout: default
3 navsection: sdk
4 navmenu: CLI
5 title: "Installation"
6
7 ...
8
9 To use the @arv@ command, you can either install the @arvados-cli@ gem via RubyGems or build and install the package from source.
10
11 h4. Prerequisites: Ruby >= 2.1.0 and curl libraries
12
13 Make sure you have "Ruby and bundler":{{site.baseurl}}/install/install-manual-prerequisites-ruby.html installed.
14
15 Install curl libraries with your system's package manager. For example, on Debian or Ubuntu:
16
17 <notextile>
18 <pre>
19 $ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev</code>
20 </pre>
21 </notextile>
22
23 h4. Option 1: install with RubyGems
24
25 <notextile>
26 <pre>
27 $ <code class="userinput">sudo gem install arvados-cli</code>
28 </pre>
29 </notextile>
30
31 h4. Option 2: build and install from source
32
33 <notextile>
34 <pre>
35 $ <code class="userinput">git clone https://github.com/curoverse/arvados.git</code>
36 $ <code class="userinput">cd arvados/sdk/cli</code>
37 $ <code class="userinput">gem build arvados-cli.gemspec</code>
38 $ <code class="userinput">sudo gem install arvados-cli-*.gem</code>
39 </pre>
40 </notextile>