Installing PCF Dev on Mac OS X

Page last updated:

This topic describes how to install PCF Dev on Mac OS X.

Prerequisites

Cloud Foundry Command Line Interface

PCF Dev uses the Cloud Foundry Command Line Interface (cf CLI) to push and scale apps.

  1. Download the cf CLI for Mac OS X (64 bit). If you previously used the cf CLI v5 Ruby gem, you must uninstall the gem first.

  2. Open the .pkg file.

  3. In the installer wizard, click Continue.

  4. Select an install destination and click Continue.

  5. When prompted, click Install.

  6. To verify your installation, open a terminal window and enter cf. If your installation was successful, the cf CLI help listing appears.

Install PCF Dev

  1. Download the latest version of PCF Dev from the Pivotal Network.
  2. Install the CF Dev plugin required to run PCF Dev:
    $ cf install-plugin cfdev
  3. Start PCF Dev. Enter the following command, replacing FILEPATH/FILE with the filepath of the .iso or .tgz file you downloaded:

    cf dev start -f FILEPATH/FILE
    

    It may take several minutes for the PCF Dev VM and its services to start.

After the PCF Dev is now running banner appears, you can log in.

Stop PCF Dev

To stop PCF Dev, run the following command:

$ cf dev stop

Uninstall PCF Dev

To remove PCF Dev, run the following command:

$ cf uninstall-plugin cfdev