Page last updated:
This topic describes how to install and uninstall the Cloud Foundry Command Line Interface (cf CLI).
Overview
Enter to Search. My Profile Logout. Free CultureBridge iOS Version 1.0.5 Full Specs. Visit Site External Download Site. CF Score 2.4.1 for Mac is free to download from our software library. The software is included in Design & Photo Tools. The software is included in Design & Photo Tools. The actual developer of this free software for Mac is David Davies-Payne.
The cf CLI is the official command line client for Cloud Foundry.
The procedures in this topic describe how to install the cf CLI on your operating system. You can install the cf CLI with a package manager, an installer, or a compressed binary.
For more information about how to use the cf CLI, see Getting Started with cf CLI.
To learn when cf CLI updates are released and to download a new binary or installer, see Releases in the Cloud Foundry CLI repository on GitHub.
There are currently two major versions of the cf CLI, v6 and v7. See the README to decide which version to use.
Prerequisites
If you previously used the cf CLI Ruby gem, you must uninstall the gem before installing the cf CLI.
To uninstall the gem:
Cf Cli For Mac
Run:
Verify that your Ruby environment manager uninstalled the gem by closing and reopening your terminal.
Install the cf CLI Using a Package Manager
These sections describe how to install the cf CLI using a package manager. You can install the cf CLI using a package manager on Mac OS X and Linux operating systems.
Linux Installation
There are two ways to install the cf CLI using a package manager, depending on your Linux distribution.
To install the cf CLI on Debian and Ubuntu-based Linux distributions:
Cf For Mac
Add the Cloud Foundry Foundation public key and package repository to your system by running:
Update your local package index by running:
To install cf CLI v6, run:
To install cf CLI v7, run:
To install the cf CLI on Enterprise Linux and Fedora RHEL6/CentOS6 and later distributions:
Configure the Cloud Foundry Foundation package repository by running:
To install cf CLI v6, run:
To install cf CLI v7, run:
This also downloads and adds the public key to your system.
Mac OS X Installation
You can install the cf CLI on Mac OS X operating systems using the Homebrew package manager.
To install the cf CLI for Mac OS X using Homebrew:
Install Homebrew. For instructions, see Install Homebrew on the Homebrew website.
To install cf CLI v6, run:
To install cf CLI v7, run:
Install the cf CLI Using a Compressed Binary
You can install the cf CLI using a compressed binary on Windows, Mac OS X, and Linux operating systems.
For more information about downloading and installing a compressed binary for cf CLI v6, see Installers and compressed binaries.
For more information about downloading and installing a compressed binary for cf CLI v7, see Installers and compressed binaries.
Verify Installation
To verify the installation of the cf CLI:
Close and reopen the command prompt. Or, open a new tab in the command prompt.
Run:
If your installation was successful, the cf CLI help listing appears.
Uninstall the cf CLI
These sections describe how to uninstall the cf CLI. The method for uninstalling the cf CLI differs depending on the installation method.
Package Manager
If you installed the cf CLI with a package manager, follow the instructions specific to your package manager.
Installer
If you installed the cf CLI with an installer, follow the procedure in this section that is specific to your operating system.
To uninstall the cf CLI on Mac OS X:
Delete the binary
/usr/local/bin/cf
.Delete the directory
/usr/local/share/doc/cf-cli
.
To uninstall the cf CLI on Windows:
Navigate to the Control Panel and click Programs and Features.
Select Cloud Foundry CLI VERSION.
Click Uninstall.
Binary
Cf Mack For Sale
To uninstall the cf CLI after installing it with a binary:
Navigate to the location where you copied the binary.
Delete the binary.