---
title: "Version compatibility"
slug: "version-compatibility"
abstract: "The version compatibility feature prevents you from using CLI commands with outdated Sitecore Management Services versions."
---
# Version compatibility

The Sitecore Command Line Interface(CLI) version 5.1.25 introduces a version compatibility feature that checks if the version of the Sitecore Management Services module is compatible with your version of the CLI.

The version compatibility feature is enabled by default, but it can be controlled with the help of the new `settings` entry in the `sitecore.json` file:

```json
"settings": {
    "versionComparingEnabled": true
  }

```

After [upgrading the CLI](https://doc.sitecore.com/xp/en/developers/101/developer-tools/upgrade-the-sitecore-command-line-interface-to-version-5.html "Upgrade the Sitecore Command Line Interface to version 5"), any CLI operations that make calls to the Sitecore Management Services endpoint run only if the version of the module is up to date. If the versions are not compatible, running a CLI command will show the following message:

```shell
The Sitecore Management Service version of the environment this
Sitecore CLI operates with is outdated, please update the Sitecore
Management Service to version 5.1.25.

```

As a short-term workaround, you can set `versionComparingEnabled` to `false`, but we strongly recommend updating the Sitecore Management Services module instead.

> [!important]
> Although disabling the version compatibility check is possible, incompatible CLI and Sitecore Management Service versions can result in inconsistent behavior and functional issues.