you can download the CF CLI from https://github.com/cloudfoundry/cli#downloads or use the curl command below
cd ~/bin
curl -L "https://cli.run.pivotal.io/stable?release=linux64-binary&source=github" | tar -zx
spring init -d=web,actuator,hateoas --package=edu.uw.jwsc -groupId=edu.uw.jwsc -name=hello hello cd hello
mvn spring-boot:run
http://localhost:8080/actuator
mvn package
cf login -a https://api.run.pivotal.io -u <your_pws_username_aka_email>
it will ask for a password and choose a default organization and space e.g development
cf push hello-world-double-irish -p target/hello-0.0.1-SNAPSHOT.jar
near the end of the deploy logs , you will evntally see a line that begins with "urls :" e.g
urls: hello-world-double-irish.cfapps.io
Access your app by entering the following URL into your browser: http://hello-world-double-irish.cfapps.io/actuator
https://console.run.pivotal.io
you may want to stop and delete your application using the PWS web console so you don't get charged