Pivotal/Cloud Foundry/CLI
From r00tedvw.com wiki
(Difference between revisions)
(→cf-login) |
(→cf-login) |
||
| Line 15: | Line 15: | ||
Sign into PWS (Pivotal Web Services).<br> | Sign into PWS (Pivotal Web Services).<br> | ||
[http://cli.cloudfoundry.org/en-US/cf/login.html Man file] | [http://cli.cloudfoundry.org/en-US/cf/login.html Man file] | ||
| − | <nowiki>~$ cf login -u username -a api.run.pivotal.io</nowiki> | + | <nowiki>~$ cf login -u username -s space -a api.run.pivotal.io</nowiki> |
==cf config== | ==cf config== | ||
Revision as of 16:19, 15 May 2018
Cloud Foundry | Cloud Foundry CLI
Contents |
Installing CF CLI
Mac OSX (High Sierra)
First start by installing homebrew package manager
~$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Tap the Cloud Foundry repo and install CF CLI
~$ brew tap cloudfoundry/tap ~$ brew install cf-cli
For good measure you should install git if you have not.
~$ brew install git
Quick Reference CF CLI
cf-login
Sign into PWS (Pivotal Web Services).
Man file
~$ cf login -u username -s space -a api.run.pivotal.io
cf config
Set configuration variables such as language, timeouts, color, etc.
Man file | Localize
~$ $ cf config --locale YOUR_LANGUAGE Language Examples: English (US): en-US German: de-DE Spanish: es-ES