CLI Basics. Login to the CLI. $ cf login -a api.run.pivotal.io. Get help in the CLI. $ cf help. Push an application. $ cf push your_app. View the getting started tutorial..