Merge branch '9388-websocket-every-notify' closes #9388
[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 h3. Prerequisites: Ruby, Bundler, and curl libraries
12
13 {% include 'install_ruby_and_bundler' %}
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 h3. Option 1: Install with RubyGems
24
25 <notextile>
26 <pre>
27 $ <code class="userinput">sudo -i gem install arvados-cli</code>
28 </pre>
29 </notextile>
30
31 h3. 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 -i gem install arvados-cli-*.gem</code>
39 </pre>
40 </notextile>