Installing the CLI

Prerequisites

  1. Python - Check if you have Python installed.

  2. pip - If you’re using Python 3.4 (or greater), then pip comes installed with Python by default.

OpenStack Client Installation

  1. Install the CLI by typing pip install python-openstackclient in the terminal.

  2. Verify that it has installed correctly by typing openstack. You will enter the OpenStack Client in interactive mode and your prompt should change to (openstack).

  3. Exit the client by typing exit.

  4. There are some clients with new features or bugfixes not yet in the upstream release branches, notably the Blazar CLI client. If you want to make reservations via the CLI, you should install that here:

    pip install git+https://github.com/chameleoncloud/python-blazarclient@chameleoncloud/2023.1