Getting started with the Fuga Command Line Interface

In this tutorial, we’ll explain how you can start using the command line interface (CLI) to control your Fuga environment. To do so, you’ll need to install the OpenStack CLI clients.

The easiest way to get up and running with the OpenStack CLI clients is to install them on a Fuga instance with Linux (we use Ubuntu or Debian in this example). Don’t know how this works? Check out our tutorial on how to get started with Fuga.

Install the OpenStack CLI clients

Once you have deployed a Fuga Linux instance, follow these steps install the OpenStack CLI clients on it:

Log in to your Fuga instance with SSH

Run the following command to update the package index:

sudo apt-get update

Run the following command to install pip:

sudo apt-get install python-pip python-dev

The OpenStack CLI clients consists of several clients for various parts of OpenStack. The following command will install several OpenStack CLI clients:

sudo pip install python-openstackclient

If you use a different Linux distribution other than Ubuntu or Debian, these instructions might be slightly different (use yum instead of apt-get, for example).