Installing the TIBCO Cloud™ - Command Line Interface
After downloading the TIBCO Cloud™ - Command Line Interface (CLI) as described in Downloading TIBCO Cloud™ Integration Tools, perform the following steps to install it.
The downloaded TIBCO Cloud™ - Command Line Interface is customized for the user who downloaded it. The customization includes the username and other information to allow the CLI to work with TIBCO Cloud™ Integration services.
Activate your account before you use the CLI. See Registering a TIBCO Cloud™ Integration Account for more information.
-
Move the
tibcliortibcli.exeexecutable to a location on your local drive. For example, copy it toc:\tibcli\(for Windows) or~/tibcli/(for Unix or macOS).Note: Thetibcliortibcli.exeexecutable should not be in the same directory as the app you are pushing. -
Add the directory to your path.
For Linux/Mac:
- Enter
echo 'export PATH=$PATH:~/tibcli' >> $HOME/.profile. - Close and reopen your shell, or enter
source $HOME/.profile.
- Click Computer.
- Click System properties, then click Advanced system settings.
- Click Environment Variables.
- Edit the
PATHvariable and addc:\tibcli\. - Click OK, then click OK.
- Enter
-
For Unix or macOS systems, change the permissions of the
tibcliexecutable as follows:chmod 755 tibcli
-
Open a command prompt, and run the command:
tibcli --version
The command returns output similar to the following:tibcli version 2.4.5 (build 123)
HTTP Proxy Configuration
If you are running behind an HTTP or HTTPS proxy, you must set the environment variable HTTP_PROXY or HTTPS_PROXY to the hostname or IP address of the proxy server before using the TIBCO Cloud™ - Command Line Interface.
For Linux and macOS:
export HTTP_PROXY=http://http_proxy:port/
or
export HTTPS_PROXY=https://http_proxy:port/
For Windows:
set HTTP_PROXY=http://http_proxy:port/
or
set HTTPS_PROXY=https://http_proxy:port/