1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright 2017 Huawei Technologies Co., Ltd.
5 .. _cli_installation_guide:
10 ONAP CLI is delivered in following formats:
15 And it could be installed by following one of the approaches given below:
20 Please follow the instructions given below, for installing CLI using install.sh.
22 1. Download install.sh from here_. to /tmp
24 .. _here: https://gerrit.onap.org/r/gitweb?p=cli.git;a=blob_plain;f=deployment/zip/installer/install.sh;hb=refs/heads/master
30 source /tmp/install.sh
32 3. Verify the installation by running following command.
38 4. For details, see :ref:`cli_user_guide`
44 Please follow the instructions given below, for installing CLI from portal.
46 1. After installing Portal, ONAP CLI will be available as Portal application as shown below:
48 .. image:: images/portal-cli-app.png
50 2. Click on CLI application and it will show the following page and download the CLI as reported in this page.
52 .. image:: images/portal-cli-dowload.png
54 3. After downloading, please follow the instruction given in this page to install ONAP CLI.
56 4. Verify the installation by running following command
62 5. For details, see :ref:`cli_user_guide`
67 Please follow the instructions given below, for installing CLI using docker image.
69 1. Download the cli docker image
73 docker login -u docker -p docker nexus3.onap.org:10001
74 docker pull nexus3.onap.org:10001/onap/cli
76 2. Verify the installation by running following command
80 docker run onap/cli onap -v
82 3. For details, see :ref:`cli_user_guide`