Hyperledger Composer Network Upgrade CLI

Hyperledger Composer Network Upgrade

The composer network upgrade utility is used to upgrade the Hyperledger Composer runtime.

composer network upgrade -n <business-network-name> -c <business-network-card>

composer network upgrade upgrades the Hyperledger Composer runtime of the named business network to use a new micro version. Before running the composer network upgrade command, a new version of the Hyperledger Composer runtime must have been installed to a blockchain node by using the composer runtime install command.

Please Note: composer network upgrade is only suitable for upgrading between micro versions of the Hyperledger Composer runtime. Micro versions are defined as the third decimal number of a release, for example, in release 0.9.2, the major version is 0, the minor version is 9, and the micro version is 2.


composer network upgrade [options]

  --help                     Show help  [boolean]
  -v, --version              Show version number  [boolean]
  --card, -c                 The cardname to use to upgrade the network  [string] [required]
  --businessNetworkName, -n  The business network name  [string] [required]
  --option, -o               Options that are specific specific to connection. Multiple options are specified by repeating this option  [string]
  --optionsFile, -O          A file containing options that are specific to connection  [string]

Please refer to Connector specific information for more information about connector specific options.