Docs / CLI
CLI
The moxzi command: building, linking and packaging Motoko on your own machine.
| Page | Question it answers |
|---|---|
| CLI quickstart | What is the shortest path from an empty directory to an installable wasm? |
| Projects and packages | How do I lay out a multi-file project and pull in mops packages? |
| Compiling and linking | What do build, link and validate actually do, and when do I need each? |
| Migrations | How do stable variables get their values across upgrades — and how do I change their shape safely? |
| Coming from moc | Which moc flags map to moxzi, and which deliberately differ? |
| Reading diagnostics | What do moxzi's error codes mean and what should I put in a bug report? |
If you only read one page, read CLI quickstart.