Installing CLI Tool (camctl)
About the task
After you install the Managed services, you can install and use the CLI on Windows (64-bit), Linux (64-bit) or macOS operating system to manage templates, deployments and others in addition to the UI.
Procedure
To install the camctl, complete the following steps:
-
Log in to the IBM Cloud Pak for Multicloud Management.
-
From the navigation menu select Manage page, click Install CLI tool.
-
Select the operating system from the drop-down list.
-
Download the binary by running the curl command from the Download with CURL text box.
-
macOS:
curl -kLo camctl https://<TSA_HOSTNAME>/cam/cam-cli/mac_os && chmod u+x camctl
-
Linux (64-bit):
curl -kLo camctl https://<TSA_HOSTNAME>/cam/cam-cli/linux && chmod u+x camctl
-
Windows (64-bit):
curl -kLo camctl.exe https://<TSA_HOSTNAME>/cam/cam-cli/windows.exe
-
-
Copy the downloaded tool binary file to any location on your PATH or copy it to any other location and add that location in the PATH variable.
-
Configure the client using the following command:
camctl login
-
Enter the values when prompted for the configuration parameters.
-
You must have the authentication platform (IBM® Cloud Private, OpenShift, IBM Multicloud Management Platform), the authentication host and the authentication port details. If you do not have this information, contact your administrator.
You can now use the Managed services CLI to manage Managed services operations.