The CLI, or Command Line Interface, is the tool you will use to interact with Cloud Foundry. The CLI runs in a terminal window and makes REST calls to the Cloud Foundry API. The CLI has been preinstalled in the terminal window.
You can verify this by checking the version:
The CLI is a self-documenting tool. For example, you can run:
cf helpto see a list of the most commonly used commands
cf help -ato see a list of all the available commands
cf <command> --helpto see details on using a specific command
Note: We have already created a user account and space to complete this tutorial in an existing Cloud Foundry instance.
When using a Cloud Foundry instance, you first need to login. We have already logged you into the Cloud Foundry instance using the user account generated for you. You can see the details of this instance by running:
Now that you are logged in, you are ready to deploy and application.