Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 2.16 KB

cli-installation.md

File metadata and controls

72 lines (48 loc) · 2.16 KB

CLI Installation

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:

  1. curl -OL https://github.com/asyncapi/cli/releases/latest/download/asyncapi.deb
  2. 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.

Other OS

Read further AsyncAPI CLI installation instructions for different operating systems.

Using NPM and Node.js

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}