Command Line Interface (CLI) Installation

Installing the Cloudify CLI

To remotely connect to Cloudify Manager, you can install the Cloudify Command Line Interface (CLI) on a separate host. The Cloudify CLI includes all of the commands necessary to run any actions on Cloudify Manager.

After you download the Cloudify CLI installation package, the installation process does not require an active internet connection.

Installing on Linux

To install Cloudify CLI on Linux, you could use either a single file binary, a RPM package and a DEB package.

Single file binary installation

To install a single file binary on your machine, run the following command:

$ curl -sfL https://cloudify.co/get-cli | sh -

This will execute a script which will:

Installation from the packages

  1. Download the installation package for your package management system, either RPM or DEB.
  2. To install from the CLI on the host, run the command for your operating system.

    Centos/RHEL

        $ sudo rpm -i <pkg.rpm>
        
    Where <pkg.rpm> is the path to the installation file.

    Debian/Ubuntu

        $ sudo dpkg -i <pkg.deb>
        
    Where <pkg.deb> is the path to the installation file.

Installing on Mac OSX

To install Cloudify CLI on Mac OSX, you could use either a single file binary, or Python’s pip.

Single file binary installation

To install a single file binary on your machine, run the following command.

$ curl -sfL https://cloudify.co/get-cli | sh -

This will execute the script which will:

Installation from PyPI (Python Package Index)

  1. Install the package using python package manager:
        $ sudo pip install cloudify=<Cloudify version, for example: 6.4.0>
        

Installing on Windows

The Windows installer is a single executable that installs these components:

To install Cloudify CLI on Windows:

  1. Download the EXE installation package for Windows.
  2. Run the installer and respond to the prompts in the installation wizard.

Uninstalling the Cloudify CLI

When you uninstall the Cloudify CLI, you only remove the CLI from the local host. This process does not change the configurations on the Cloudify Manager that you used the CLI to connect to.

Uninstalling from Linux

Single file binary installation

To uninstall the CLI which was installed as a single file binary, just remove it with

$ sudo rm /usr/local/bin/cfy

Installation from the packages

To uninstall the CLI from the host, run the command for your operating system.

Centos/RHEL
$ sudo rpm -e cloudify
Debian/Ubuntu
$ sudo dpkg -r cloudify

Uninstalling from Mac

Single file binary installation

To uninstall the CLI which was installed as a single file binary, just remove it with

$ sudo rm /usr/local/bin/cfy

Installation from PyPI (Python Package Index)

To uninstall the CLI from the host, run:

$ pip uninstall cloudify

Uninstalling from Windows

To uninstall the CLI from the host:

  1. Go to the Control Panel and open Apps.
  2. Select Cloudify CLI and click Uninstall.