Follow the AsyncAPI CLI installation instructions below, based on your computer’s operating system.
MacOS
brew
You can install in MacOS via brew: brew install asyncapi
.
pkg
Each release of CLI produces a MacOS dedicated pkg file that enables you to install this CLI as MacOS application.
# Download latest release. To download specific release, your link should look similar to https://github.com/asyncapi/cli/releases/download/v0.13.0/asyncapi.pkg. All releases are listed in https://github.com/asyncapi/cli/releases
curl -OL https://github.com/asyncapi/cli/releases/latest/download/asyncapi.pkg
# Install AsyncAPI CLI
sudo installer -pkg asyncapi.pkg -target /
Linux
You can install in Linux via dpkg
, a debian package manager:
curl -OL https://github.com/asyncapi/cli/releases/latest/download/asyncapi.deb
sudo dpkg -i asyncapi.deb
Windows
For Windows, install the appropriate installer and follow the default installation steps to complete the installation process.
Download asyncapi.x64.exe for 64-bit Windows and asyncapi.x86.exe for 32-bit Windows.
Alternitavely, you can install the AsyncAPI CLI with Node.js >=v10
and NPM.
Install CLI globally
Install AsyncAPI CLI globally with the following command:
npm install -g @asyncapi/cli
Install specific CLI version
To install a specific version of the AsyncAPI CLI, pass the verion
during installation:
npm install -g @asyncapi/cli@{version}