1 .. _installation_guide:
2 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
4 .. Copyright 2017 Huawei Technologies Co., Ltd.
9 ONAP CLI is delivered in following formats:
14 And tt could be installed by following one of the approaches given below:
19 Please follow the instructions given below, for installing CLI using install.sh.
21 1. Download install.sh from here_. to /tmp
23 .. _here: https://gerrit.onap.org/r/gitweb?p=cli.git;a=blob_plain;f=deployment/zip/installer/install.sh;hb=refs/heads/master
27 source /tmp/install.sh
29 3. Verify the installation by running following command::
33 4. For more details, please refer user_guide_.
39 Please follow the instructions given below, for installing CLI from portal.
41 1. After installing Portal, ONAP CLI will be available as Portal application as shown below:
45 .. |image0| image:: images/portal-cli-app.png
49 2. Click on CLI application and it will show the following page and download the CLI as reported in this page.
53 .. |image1| image:: images/portal-cli-dowload.png
57 3. After downloading, please follow the instruction given in this page to install ONAP CLI.
59 4. Verify the installation by running following command::
63 5. For more details, please refer user_guide_.
68 Please follow the instructions given below, for installing CLI using docker image.
70 1. Download the cli docker image::
72 docker login -u docker -p docker nexus3.onap.org:10001
73 docker pull nexus3.onap.org:10001/onap/cli
75 2. Verify the installation by running following command::
77 docker run onap/cli onap -v
79 3. For more details, please refer user_guide_.