Installing PCF Dev on Microsoft Windows 7 and 8

Note: This topic applies only to PCF Dev v0.30 or earlier. If you are using a later version of PCF Dev, see Installing PCF Dev on Microsoft Windows 10.

This topic describes how to install PCF Dev on Windows 7 and 8.

Prerequisites

VirtualBox

PCF Dev uses VirtualBox v5.0 and above as its virtualizer.

  1. Download VirtualBox v5.0.14 for Windows hosts from VirtualBox.

  2. Open the .exe file and install using the wizard.

Cloud Foundry Command Line Interface

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

  1. To install the cf CLI for Windows (64 bit), download it here. If you previously used the cf CLI v5 Ruby gem, uninstall this gem first.

  2. Unpack the zip file and open the cf_installer application.

  3. Follow the installer wizard to install.

  4. 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 PCF Dev v0.30 from the Pivotal Network.
  2. Unzip the downloaded zip file.
  3. Using PowerShell, navigate to the directory containing the unzipped plugin file.
  4. Install the PCF Dev plugin:
     >> .\pcfdev-VERSION-windows.exe
  5. Start PCF Dev:

     >> cf dev start
    It may take several minutes for the PCF Dev virtual machine (VM) and its services to start.

    Note: You may be prompted to continue if your available memory is less than the recommended amount.

  6. If prompted, enter your API token. This token is required for authentication and appears at the bottom of the Edit Profile tab in your Pivotal Network account.

    Note: The API token does not appear in the terminal session when you enter it.

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

Stop PCF Dev

To temporarily stop PCF Dev, run the following command:

 >> cf dev stop

Uninstall PCF Dev

To destroy the PCF Dev VM, run the following command:

 >> cf dev destroy

To remove the PCF Dev, run the following command:

 >> cf uninstall-plugin pcfdev