anchor.diff:  
   To learn when cf CLI updates are released and to download a new binary or installer, see [Releases](https://github.com/cloudfoundry/cli/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](https://github.com/cloudfoundry/cli/blob/master/README.md) to decide which version to use.
  +
   
   ## <a name="prerequisites"></a> Prerequisites
   
  
positive.code: 
  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, see [Installers and compressed binaries](https://github.com/cloudfoundry/cli#installers-and-compressed-binaries) in the Cloud Foundry CLI repository on GitHub.
  
  
  ## <a name="verify"></a> Verify Installation
  
  
negative.code: 
  1. Install Homebrew. For instructions, see [Install Homebrew](http://brew.sh/) on the Homebrew website.
  
  1. To install **cf CLI v6**, run:
  
  		brew install cloudfoundry/tap/cf-cli
  
  1. To install **cf CLI v7**, run:
  
  		brew install cloudfoundry/tap/cf-cli@7
  
  <% if not vars.platform_code == 'CF' %>
  <%= partial '../console/cf_cli_installer' %>
  