- Download the IBM Cloud CLI

- Log in to IBM Cloud
Run the command below in a terminal to target Namespace: .
$
ibmcloud login -a
After this step, you can use the IBM Cloud CLI to change the target region and namespace.
- Install the Cloud Functions plug-in
$
ibmcloud plugin install cloud-functions
- Target a namespace
$
ibmcloud target -o <org> -s <space>
- Test it
Perform a list command to display all entities in the current targeted namespace.
$
ibmcloud fn list
For more detail, consult the online Cloud Functions documentation.
Looking for the FN CLI?
On 03/09/18, the Cloud Functions stand-alone CLI download was removed. If you still have a version of the Cloud Functions stand-alone CLI you can find instructions to configure it below.
To continue managing Cloud Functions entities, use the Cloud Functions plug-in for the IBM Cloud CLI.
To use the IBM Cloud Functions CLI (Command Line Interface), follow these steps.
Target a Region and Namespace
Log in to see your credentials➡
Test it
Perform a list command to display all entities in the current targeted namespace.
ibmcloud fn list
For more detail, consult the online Cloud Functions documentation.