anchor.diff:  owner: CLI
   ---
   
  +<div class="quick-links">
  +	<ul>
  +		<li><a href="#overview">Overview</a></li>
  +		<li><a href="#prerequisites">Prerequisites</a></li>
  +		<li><a href="#pkg">Install the cf CLI Using a Package Manager</a></li>
  +			<ul>
  +				<li><a href="#pkg-linux">Linux Installation</a></li>
  +				<li><a href="#pkg-mac">Mac OS X Installation</a></li>
  +			</ul>	
  +		<% if not vars.product_name == 'CF' %>
  +		<li><a href="#installer">Install the cf CLI Using an Installer</a></li>
  +			<ul>
  +			<li><a href="#installer-linux">Linux Installation</a></li>
  +			<li><a href="#installer-mac">Mac OS X Installation</a></li>
  +			<li><a href="#installer-windows">Windows Installation</a></li>
  +			</ul>	
  +		<% end %>
  +		<li><a href="#bin">Install the cf CLI Using a Compressed Binary</a></li>
  +		<li><a href="#verify">Verify Installation</a></li>
  +		<li><a href="#uninstall">Uninstall the cf CLI</a></li>
  +			<ul>
  +				<li><a href="#uninstall-pkg">Package Manager</a></li>
  +				<li><a href="#uninstall-installer">Installer</a></li>
  +				<li><a href="#uninstall-binary">Binary</a></li>
  +			</ul>	
  +	</ul>
  +</div>
  +
   This topic describes how to install and uninstall the Cloud Foundry Command Line Interface (cf CLI). 
   
   
  -## <a id="overview"></a> Overview
  +## <a name="overview"></a> Overview
   
   The cf CLI is the official command line client for Cloud Foundry. 
   
  
positive.code: 	brew install cf-cli
  	```
  
  
  ## <a id="bin"></a> Install the cf CLI Using a Compressed Binary
  
  This section describes how to 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, see the [Installers and compressed binaries](https://github.com/cloudfoundry/cli#installers-and-compressed-binaries) section of the cf CLI repository on GitHub.
  
  
  ## <a id="verify"></a> Verify Installation
  
  To verify the installation of the cf CLI, do the following:
  
  
negative.code: 1. Verify that your Ruby environment manager uninstalled the gem by closing and reopening your terminal.
  
  
  ## <a name="pkg"></a> Install the cf CLI Using a Package Manager
  
  This section describes 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.
  
  
  ### <a name='pkg-linux'></a> Linux Installation
  
  There are two ways to install the cf CLI using a package manager, depending on your Linux distribution.
  
  