Upgrade the Sitecore Command Line Interface to version 3
Sitecore Command Line Interface (CLI) is a tool that you install in PowerShell.
To install a new CLI installation, see Install Sitecore Command Line Interface.
To upgrade an existing CLI installation from version 2.0.0 to version 3.0.0:
-
Update the Sitecore Management Services module.
-
Update the NuGet source config file with the NuGet configuration:
-
Upgrade the CLI version to version 3.0.0:
-
Install the required
PublishingandSerializationplugins:NoteThe
PublishingandSerializationcommands became separate plugins as part of the Sitecore CLI NuGet extensibility release.After you install the plugins, the
serandpublishcommands are available, and the updatedsitecore.jsonconfig file from your solution has a newpluginssection: -
You can check the Sitecore CLI version using the following command:
If your CLI is updated successfully, It returns
3.0.0. -
To update the JSON schema, run the following command in your project folder:
-
You can check the installed plugins using the following command:
If your CLI plugins are updated successfully, you will see the following message: