Skip to main content

CLI Migration (v1 -> v2)

With the release of our new CLI v2, we have introduced new features and fundamentally changed the underlying technology that natively supports the most common operating systems and architectures and is far more powerful.

The CLI v1 and v2 use the same pergola command name. If you keep both versions installed, your system will use the first one found in your search path. If you previously installed the CLI v1, we recommend that you uninstall it and keep the CLI v2 only.

1. Uninstall CLI v1

pip uninstall pergola-cli

# verify that pergola-cli does not appear in the list of installed packages
pip list
Issues?

If you have installed the CLI for all users, you will need to run the command as root:

sudo pip uninstall pergola-cli

If pip3 is available instead of pip, then issue this command:

pip3 uninstall pergola-cli

# or as root
sudo pip3 uninstall pergola-cli

# verify
pip3 list

2. Install CLI v2

Please refer to the CLI installation guide for the installation of the new CLI.