Skip to content

Installing, Updating, and Uninstalling the CloudAEye CLI


Overview

This topic describes how to install, update, and uninstall the CloudAEye CLI (Command Line Interface) tool - caeops. It allows you to run commands against CloudAEye SaaS. caeops is a fully functional CLI and supports all aspects of CloudAEye SaaS. For more information including a complete list of caeops operations, see the CLI Reference Guide documentation.

⚓ Prerequisites

Install Python 3.x

CloudAEye CLI tool is based on Python and requires version 3.6 or above. Please verify that you have Python 3.x in your system.

python3 --version
py --version

If you do not have Python 3.6 or above, please install the latest 3.x version from python.org or refer to the Installing Python section of the Hitchhiker’s Guide to Python.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" # Homebrew
export PATH="/usr/local/opt/python/libexec/bin:$PATH"

brew install python
Install latest stable version from python.org # https://www.python.org/downloads/windows/
python -m pip install -U pip                  # Update 
sudo apt-get update
sudo apt-get install python3.8

Install Pip3

Pip is a popular tool for installing Python packages. Please ensure that you have setup pip3 corresponding to your Python 3.x environment. Refer to install instructions from official Python.org site.

Install instructions tips from Stackoverflow is shown bellow for your convenience ( MacOS, Windows, Linux ).

brew install python3                          # Homebrew
pip3 --version                                # Check PIP3 Version

curl -O https://bootstrap.pypa.io/get-pip.py  # Use get-pip.py
sudo python3 get-pip.py
You can check if pip3 works with this absolute path:
C:\path\to\python\Scripts\pip3
if yes, add C:\path\to\python\Scripts to your environmental variable PATH.

pip3 --version                                # Check PIP3 Version
sudo apt-get install python3-pip              # Debian and Ubuntu

sudo yum install python34-setuptools          # CentOS
sudo easy_install pip

yum update -y                                 # Update Your RHEL/CentOS Server
yum install python3-pip -y                    # Install PIP3 tool on Linux
rpm -qa | grep -i python3-pip                 # Verify PIP3 Package Installation
pip3 -V                                       # Check PIP3 Version

Install CloudAEye CLI

Install caeops

Install caeops using pip3 as you normally do for other Python packages.

pip3 install caeops

Validate caeops

Validate the installation by running --help.

caeops --help
caeops returns the available commands.

Congratulations! You have successfully installed CloudAEye CLI 🎉

Update CloudAEye CLI

You may update caeops using pip3 similar to any other Python packages (see Stackoverflow for helpful tips or official PIP documentation ).

pip3 install caeops --upgrade         # Update caeops 
caeops --version                      # Check Version 

Uninstall CloudAEye CLI

You may uninstall caeops using pip3 similar to any other Python packages. Refer to official PIP documentation .

pip uninstall caeops