Skip to main content

Installation

View as Markdown

The create-eventcatalog CLI command is the fastest way to start a new catalog. It creates a folder for your catalog and installs the packages that it needs. It also adds the scripts to run the catalog on your computer and to build it for production.

You can also start from a template, start with an empty catalog, or use the EventCatalog AI skill to make documentation from a codebase that you have now.

Prerequisites​

  • Node.js version 22 or later. To see your version, run node -v.
  • A terminal, to run the EventCatalog CLI.
  • A text editor, to edit the files of your catalog.

Install from the CLI wizard​

  1. Run this command in your terminal:

    npx @eventcatalog/create-eventcatalog@latest my-catalog

    The command creates a my-catalog folder. The folder contains:

    • an EventCatalog project
    • sample architecture resources
    • an eventcatalog.config.js file
    • a package.json file, with scripts to run and build the catalog
  2. Go into the new folder:

    cd my-catalog
  3. If you did not let the CLI install the dependencies, install them now:

    npm install

Start the development server​

  1. Start EventCatalog on your computer:

    npm run dev
  2. Open http://localhost:3000 to see your catalog.

Licensing: free in production for individuals, open-source projects, teaching, research and smaller organizations

EventCatalog v5 is source-available under the Business Source License. You can use it in production free of charge if you are one of these:

  • an individual
  • an open-source project
  • teaching or research
  • an organization with less than $10M in revenue and less than $10M raised

Larger organizations get a 60-day evaluation. After the evaluation, they need a commercial license.

The "Trial" countdown in the header is a reminder. Sample content, for example the catalog that this command creates, is always free, and it does not start your evaluation. Your evaluation starts when your catalog documents real systems that people use. Your builds continue to work when a trial or a license ends.

Licensing FAQ · Add your license file

CLI installation flags​

You can add flags to the create-eventcatalog command to change the catalog that it creates.

Create an empty catalog​

Use --empty to create a catalog with no sample resources.

npx @eventcatalog/create-eventcatalog@latest my-catalog --empty

Use a starter template​

Use --template to start from one of the EventCatalog integration templates.

npx @eventcatalog/create-eventcatalog@latest my-catalog --template asyncapi

Use a template when you know which integration you want to use. For example, AsyncAPI, OpenAPI, EventBridge, GitHub or a schema registry.

Generate a catalog from an existing codebase​

If you have a codebase, you can use the Catalog Documentation Creator AI skill. The skill makes EventCatalog documentation from the information in your project.

  1. Add the EventCatalog skill to your project:

    npx skills add event-catalog/skills --skill catalog-documentation-creator
  2. Tell your AI agent to read your codebase and make the EventCatalog documentation:

    Look at my directory and generate EventCatalog documentation from information you find.

You can edit the files that the skill makes, the same as all other EventCatalog documentation. For more information, read about EventCatalog skills.

Next steps​