First need to install the cloud foundry cli tool. then
cf -v
get the cloud foundry CLI version .
cf login
give the login url,email id and password
Email >
Password >
then push the code
cf push
It will automatically take the folder code and run the manifest file and then required packages of node.
Thanks, Manoj