# Install asyncapi with Homebrew, Nix

All in one CLI for all AsyncAPI tools. Version 6.0.2 via Homebrew; verified 2026-06-15. Also installable with nix: nix profile install nixpkgs#asyncapi.

## Install

```sh
sudo av install brew:asyncapi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install asyncapi
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#asyncapi
```

  Evidence: nixpkgs package indexes: pkgs/by-name/as/asyncapi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:asyncapi
- **Package manager:** Homebrew
- **Version:** 6.0.2
- **Source summary:** All in one CLI for all AsyncAPI tools
- **Homepage:** <https://www.asyncapi.com/tools/cli>
- **Last updated:** 2026-06-15T10:20:10-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- asyncapi (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 6.0.2
## Project history and usage

AsyncAPI CLI is the command-line front end for working with AsyncAPI documents: validating, bundling, converting, formatting, diffing, generating clients/models/templates, launching previews and Studio, and managing document contexts. It is the package-manager face of the wider AsyncAPI Initiative.

### Project history

The CLI repository began in 2021 with an explicit design phase and grew into an oclif-based Node.js command suite. Its README describes it as a CLI for AsyncAPI files and points contributors to generated usage docs, architecture docs, and command patterns such as `verb + noun` and `namespace + noun + verb`.

The 5.x and 6.x lines show the project consolidating around document operations and generator integration. Version 6.0.0 removed Postman-to-AsyncAPI conversion support because the dependency chain had become unmaintained and difficult to support, which is a good example of the CLI being maintained as a practical tool rather than only an aggregation point.

### Adoption history

AsyncAPI CLI is shipped through npm, Homebrew, Docker, macOS pkg files, Windows installers, Chocolatey, Debian packages, and other package channels documented by the project. The supplied Homebrew and Nix package metadata shows it has crossed from the JavaScript ecosystem into system package-manager catalogs.

Its adoption follows the growth of AsyncAPI as a specification for event-driven and asynchronous APIs: teams that already keep OpenAPI-like documents in repositories can add the CLI to CI, local validation, code-generation, documentation-preview, and schema-maintenance workflows.

### How it is used

Common package-manager usage is `asyncapi validate`, `asyncapi bundle`, `asyncapi diff`, `asyncapi generate`, `asyncapi start preview`, and `asyncapi start studio`. The CLI also has context commands for giving short names to AsyncAPI document paths and auth commands for resolving protected remote references.

### Why package nerds care

AsyncAPI CLI is interesting because it is both a Node package and a cross-platform native-feeling CLI artifact. Package maintainers have to care about npm global installs, generated oclif command docs, shell completion, Docker images, OS installers, Homebrew bottles, and the fast-moving AsyncAPI toolchain behind the single `asyncapi` executable.

### Timeline

- 2021: Initial CLI repository commits and design notes.
- 2026: v6.0.0 removed Postman conversion support after dependency-maintenance issues.
- 2026: v6.0.2 patched request-body validation behavior.

### Related projects

- Related AsyncAPI projects include the AsyncAPI specification, generator, converter-js, Studio/preview tooling, templates, parser tooling, and the broader event-driven API documentation ecosystem.

### Sources

- Official git metadata from https://github.com/asyncapi/cli.git
- <https://github.com/asyncapi/cli#readme>
- <https://github.com/asyncapi/cli/blob/master/docs/installation.md>
- <https://github.com/asyncapi/cli/blob/master/docs/usage.md>
- <https://github.com/asyncapi/cli/releases.atom>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .asyncapi-cli, ~/.asyncapi-cli
## Other Package-Manager Records

- Nix - asyncapi: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asyncapi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/asyncapi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/asyncapi.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
