Content Hub Tip #25: Fixing XM Cloud CLI

 

Content Hub logo

When running the latest version of the Sitecore CLI run into the following problem. There is a problem with the plugin of the Sitecore CLI. It seems that the Sitecore.DevEx.Extensibility.Database@5.0.16 is not compatible and therefore causing an error.

Sitecore CLI problem

After joining the #xm-cloud Slack channel I found out that someone already asked the question. Luckily for us, there is already an easy fix. You need to add the following line to your sitecore.sjon plugin sections:
- "Sitecore.DevEx.Extensibility.XMCloud@1.0.1"

It should look like this. Don't forget to Save the change!

sitecore.json configuration

If you then run the command dotnet sitecore cloud login again you should get the following message:

Sitecore CLI XM Cloud

Be sure to check your browser to continue the process of logging in.

Hope this help you in your steps into Sitecore XM Cloud.

Until next time!