Upgrade Blockchain App Builder CLI
To upgrade Blockchain App Builder, you must uninstall the previous version and then install the newer version.
- Run the following command to uninstall Blockchain App
Builder.
npm uninstall -g @oracle/ochain-cli
- Verify that Blockchain App Builder is no longer installed by running the following
command.
ochain -v
If Blockchain App Builder is no longer installed, an error message similar to the following text is displayed.-bash: ochain: command not found
- Download the latest version of the Blockchain App Builder CLI package
(
oracle-ochain-cli-x.x.x.tgz
) from the Developer Tools tab on the Blockchain App Builder pane of the Oracle Blockchain Platform console, and then install Blockchain App Builder. For more information, see Install and Configure Blockchain App Builder CLI.