IBM Cloud Setup

CLI

  1. Download the IBM Cloud CLIDownload CLI

  1. Log in to IBM Cloud

Run the command below in a terminal to target Namespace: [email protected]_dev$ibmcloud login -a cloud.ibm.com -o “[email protected]” -s “dev”

After this step, you can use the IBM Cloud CLI to change the target region and namespace.

  1. Install the Cloud Functions plug-in
$ibmcloud plugin install cloud-functions

  1. Target a namespace

Make sure to target this namespace’s resource group with ibmcloud target -g [name of resource group]
You can list available resource groups using the command ibmcloud resource groups

$ibmcloud target -o [email protected] -s dev

  1. Test it

Perform a list command to display all entities in the current targeted namespace.

$ibmcloud fn list

Was this article helpful?

Leave A Comment?