anchor.diff:  ---
   title: Deploy an Application
   ---
  -_This page assumes you are using cf CLI v6._
  +_This page assumes that you are using cf CLI v6._
   
   <p class="note"><strong>Note:</strong> See the <a href="../../buildpacks/">buildpacks</a> documentation for complete deployment guides specific to your application language or framework, such as the <a href="../../buildpacks/ruby/gsg-ror.html">Getting Started Deploying Ruby on Rails Apps</a> guide.</p>
   
  
positive.code: 
  You deploy an application to Cloud Foundry by running a `push` command from a
  Cloud Foundry command line interface (CLI).
  Refer to the [Install cf CLI v6](../installcf/install-go-cli.html) topic for more
  information.
  Between the time you run `push` and the time that the application is available,
  Cloud Foundry:
  
  * Uploads and stores application files
  * Examines and stores application metadata
  
negative.code: application settings change from push to push, and how command-line options,
  manifests, and commands like `cf scale` interact.
  
  When you deploy an application while it is running, Cloud Foundry stops all instances of that application and then deploys.
  Users who try to run the application get a "404 not found" message while cf push
  is running.
  Stopping all instances is necessary to prevent two versions of your code running
  