Upgrading the Cognite Toolkit
Follow these steps to upgrade the Cognite Toolkit CLI and modules to the latest version.
Step 1: Upgrade the Cognite Toolkit CLI
To upgrade the Cognite Toolkit to the latest version, open up a terminal and run this command:
- pip
- poetry
pip install --upgrade cognite-toolkit
poetry add cognite-toolkit@latest
To upgrade the Cognite Toolkit to a specific version, for example a beta version, open up a terminal and run this command:
- pip
- poetry
pip install cognite-toolkit==0.3.0b4
poetry add cognite-toolkit@0.3.0b4
Replace 0.3.0b4
with the version you want to install.
Step 2: Upgrade the Cognite Toolkit modules
To update the Cognite Toolkit modules to be compatible with the installed version of the Cognite Toolkit CLI:
-
Open up a terminal and run this command:
cdf-tk modules upgrade
-
Follow the Cognite Toolkit instructions to manually update settings that the Cognite Toolkit couldn't upgrade automatically.