diff --git a/assets/docs/fragments/cli-installation.md b/assets/docs/fragments/cli-installation.md new file mode 100644 index 000000000000..67a0796c8528 --- /dev/null +++ b/assets/docs/fragments/cli-installation.md @@ -0,0 +1,62 @@ +### CLI Installation +Follow the [AsyncAPI CLI installation](https://github.com/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` + +
+ +
+Other OS + +[Read further AsyncAPI CLI installation instructions for different operating systems](https://github.com/asyncapi/cli#installation). +
+ +#### Using NPM and Node.js +Alternitavely, you can install the [AsyncAPI CLI](https://github.com/asyncapi/cli#installation) with Node.js `>=v10` and [NPM](https://nodejs.org/en/download/package-manager/). + +
+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} +``` + +
diff --git a/components/MDX.js b/components/MDX.js index daa7ed720524..a321f4aaeb0c 100644 --- a/components/MDX.js +++ b/components/MDX.js @@ -38,7 +38,7 @@ function getMDXComponents() { h1: props =>

, h2: props =>

, h3: props =>

, - h4: props =>

, + h4: props =>

, h5: props =>

, h6: props =>
, blockquote: props =>
,