Skip to main content

CLI Setup

This document describes how to set up the ESP RainMaker command-line interface (CLI) utility.

Installing Python 3

If you have Python 3 already installed, just move on to the next section. Otherwise, follow these steps:

  1. Download Python 3 for your OS from the Python website. Latest version should be fine, but the CLI is tested with Python 3.7.4.
  2. Run the OS specific installer to install Python 3.
  3. Verify the installation by running following command on terminal.
$ python3 --version

Note: On Windows, use python --version to verify the installation.

Installing Dependencies

We will have to first install pip, which is a package installer for Python and then install the dependencies. Here are the steps:

Installing pip

$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python3 get-pip.py

Note: On Windows, use python get-pip.py for pip installation.

Installing RainMaker CLI

ESP RainMaker CLI is available on Python Package Index (PyPI). It can be installed using pip.

python3 -m pip install esp-rainmaker-cli
$ cd /path/to/esp-rainmaker/cli/
$ pip3 install -r requirements.txt