Skip to main content

Packaging

A .neutron file is the unit of distribution. It carries everything needed to extend a Neutron canister: a manifest, browser assets, and content-addressed Motoko modules.

PageCovers
Package formatThe archive itself, path rewriting, and what ends up where
The manifestEvery field of neutron.json and what declaring it means
Content addressingWhy Motoko modules are named by hash, and what that buys
VersioningPacked release integers, upgrade policy, and the separate version lanes

A useful framing before you start: the manifest is not configuration, it is a declaration of maximum authority. Everything the compiler generates, everything the install dialog discloses, everything Settings can toggle, and everything a broker will permit at runtime is derived from it.