Installing the Cloudify Command Line Interface


You install the CLI by downloading and installing a Cloudify package. Cloudify packages significantly reduce the initial complexity of the installation process.

This installation method does not require an active internet connection during the installation process.

Linux

  1. Download the installer that is appropriate to your operating system and installation preference, either user interface or terminal-based.
  2. Select one of the following installation options:

    • To install from a user interface, double-click the UI installation file you downloaded.
    • To install using terminal commands, run the command appropriate to your operating system.

    Centos/RHEL

      
         $ sudo rpm -i <_pkg.rpm_>
           

    replacing <pkg.rpm> with the path of the installation file you downloaded.

    Debian/Ubuntu

      
        $ sudo dpkg -i <_pkg.deb_>
          

    replacing <_pkg.deb_> with the path of the installation file you downloaded.

Mac

  1. Download the installer appropriate to your Mac environment.
  2. Select one of the following installation options:

    • Double click the file and it will open up the Installer but if you need to Open With, then select the app called Installer which is located in your Utilities folder.
    •   
           $ sudo installer -pkg <_/path/to/pkg.pkg_> -target /
             

    replacing <_/path/to/pkg.pkg_> with the path of the installation file you downloaded.

Windows

The Windows installer is a single executable that installs the following:

  • Python 2.7.x
  • Pip
  • Virtualenv
  • Cloudify

Installation Prerequisites

Python installation requires Microsoft Visual C++ 2008 Redistributable. Install it if you encounter an error during the Python installation.

Installing Python and Pip

The Python setup wizard, will prompt you to select whether to install pip. Regardless of your choice, pip is installed as part of the Cloudify installation because it is required by the Cloudify environment.

Install on Windows
  1. Download the installer appropriate to your Windows environment.
  2. Run the installer, following the prompts in the installation.