Skip to content
Authoring packages

Authoring packages

Guides for package and catalog authors: writing a pkg.yaml, validating it, and publishing a catalog to a registry. For the complete manifest schema, see the pkg.yaml schema reference.

Catalog structure

A catalog is a directory with a pkgs/ folder that holds one subdirectory per package, each containing a single pkg.yaml manifest:

my-catalog/
├── pkgs/
│   ├── ripgrep/
│   │   └── pkg.yaml
│   └── kubectl/
│       └── pkg.yaml
└── README.md

The directory name under pkgs/ is the package name used with nem use. A catalog carries no code — only manifests.