Installing the Command Line Interface
Install the PaaS CLI as a Python package.
Use the PIP tool
pip3
to install the CLI Python package.
-
On Windows:
pip3 install -U psmcli.zip
-
On Linux:
sudo —H pip3 install -U psmcli.zip
Note:
On Linux, the
sudo
command is required in order to install a Python package with PIP if you installed PIP as theroot
user and to the default file system destination.
Note:
If your machine requires a proxy server in order to connect to the Internet, set the http_proxy
and https_proxy
environment variables prior to running PIP.
Windows example:
set http_proxy=http://myproxy.example.com:80
set https_proxy=https://myproxy.example.com:80
Linux example:
export http_proxy=http://myproxy.example.com:80
export https_proxy=https://myproxy.example.com:80