Pmk Cli Cli Installation
Pre-requisites
Installation
bash <(curl -sL https://pmkft-assets.s3-us-west-1.amazonaws.com/pf9ctl_setup)Upgrade
bash ./cli_setup.shUninstall
Last updated
Was this helpful?
This page provides instructions to install, update and uninstall the Platform9 CLI.
The CLI currently supports
Ubuntu 18.04 / 20.04
CentOS 7.x
RHEL 7.x / 8.x
From the command line of your machine, run the following commands to download the CLI installer and run it to install the CLI.
bash <(curl -sL https://pmkft-assets.s3-us-west-1.amazonaws.com/pf9ctl_setup)This will download a script named cli_setup.sh and invoke the script. Once the CLI is successfully installed, you can proceed to configure the CLI.
To upgrade the CLI to the latest version, simply run the cli-setup.sh script again.
bash ./cli_setup.shThis will update the installed packages if new versions are available in the upstream repository.
Info
You will need to specify your PMK account credentials again after running this command.
To uninstall the CLI, you need to remove the installation directories by running rm -rf ~/pf9 -. This command removes all PMK package installations, including logs/db/binary. Additionally, running therm -rf /usr/bin/pf9ctl command will remove the pf9ctl soft link.
Last updated
Was this helpful?
Was this helpful?
rm -rf ~/pf9
rm -rf /usr/bin/pf9ctl