npm i -g anypoint-cli@latest
Installing the API Governance CLI
If you plan to use the API Governance CLI commands, you must install the API Governance CLI on the systems where you run local commands or where your automatation tools, such as CI/CD pipelines or scripts, are executed.
Install as follows:
Install NPM 7 if you do not have it already installed. See the NodeJS download page.
Install Anypoint CLI with API Governance included using the following command: