moxzi
Docs / CLI

CLI

The moxzi command: building, linking and packaging Motoko on your own machine.

PageQuestion it answers
CLI quickstartWhat is the shortest path from an empty directory to an installable wasm?
Projects and packagesHow do I lay out a multi-file project and pull in mops packages?
Compiling and linkingWhat do build, link and validate actually do, and when do I need each?
MigrationsHow do stable variables get their values across upgrades — and how do I change their shape safely?
Coming from mocWhich moc flags map to moxzi, and which deliberately differ?
Reading diagnosticsWhat do moxzi's error codes mean and what should I put in a bug report?

If you only read one page, read CLI quickstart.