---
schema_version: "1"
id: aacb8cab359455bfd1f6b2696d7a897c745c6963f7ee450cc0bfb8ee64ef9767
title: How Version 4.x Differs from Previous Versions
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/anypoint-cli/latest/diff-earlier-ver.md
canonical_url: https://docs.mulesoft.com/anypoint-cli/latest/diff-earlier-ver
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 531de80d6f5665db38f7164218aef095850a230833cfcac35a94292521622070
description: MuleSoft Documentation Site
release: 4.x
latest: true
---
---
product: Anypoint CLI
version: 4.x
is-latest-version: true
---

# How Version 4.x Differs from Previous Versions

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Scripts that use versions of the Anypoint Platform CLI earlier than 4.x do not automatically use
Anypoint CLI 4.x commands because the new version of the CLI has different command names and syntax.
However, because the CLI version 4.x name and install package are different from previous versions,
you can install Anypoint CLI 4.x and an earlier version on the same system and use both versions in
your scripts.

Warning: Anypoint CLI 4.x is not backward compatible with previous versions.

## Changes

Anypoint CLI 4.x introduces the following changes:

- **CLI Name** The new CLI is named `anypoint-cli-v4`.

- **Installation** Command groups for Anypoint Platform components are packaged as plugins that can
  optionally be installed and uninstalled separately from the core installation package.

- **Authentication**

  - Set your credentials using the `anypoint-cli-v4 conf` command.

  - The only way to authenticate to Anypoint CLI 4.x is through
    [Connected Apps](https://docs.mulesoft.com/access-management/connected-apps-overview).

- **Command Syntax** The separator between command parameters can be either a colon (:) or a space.
  For example, the command to get the Exchange asset resource list can be either
  `anypoint-cli-v4 exchange:asset:resource:list` or `anypoint-cli-v4 exchange asset resource list`.

- **Commands and Properties** The following commands and properties have changed:

  - `exchange:asset:upload` replaces `exchange:asset:uploadv2`.

  - `exchange:asset:upload --properties='{"property1":"value2", "property2": "value2"}'` replaces
    `exchange:asset:upload properties.value1.value2`.

  - `cloudhub:load-balancer:allowlist:add/remove` commands replace the similar commands that used a
    non-inclusive term.

  - `runtime-mgr:cloudhub-application:describe -o JSON` replaces
    `runtime-mgr cloudhub-application describe-json`.

  - `runtime-mgr:pcf-application:describe -o JSON` replaces
    `runtime-mgr pcf-application describe-json`.

  - `cloudhub:vpc:describe -o JSON` replaces `cloudhub vpc describe-json`.

  - Environments and Business Groups commands are no longer supported.

  - Datagraph API Source Management commands are no longer supported.

  - Runtime Fabric Instances commands are no longer supported.

- **Interactive Mode** Because interactive mode is no longer supported, the following commands and
  flags are no longer available:

  - `use business-group` command

  - `use environment` command

  - `exit` command

  - `-f, --fields` flag

  - Ability to interactively enter the password if you omit it

- When using multi-option flags in a command in Anypoint CLI 4.x,you need to either put the
  parameter before the flags or use a `--` (two dashes followed by a space) before the parameter to
  make it work.
