Toolchain and packages
The zov executable contains both the compiler and the package manager.
Source builds and installs also provide a zovc compatibility command that
invokes the same binary.
Everyday commands
Section titled “Everyday commands”| Task | Command |
|---|---|
| Compile a source file | zov file.zov -o program |
| Print the generated C | zov --emit-c file.zov |
| Type/borrow-check only | zov --check file.zov |
| Check a local project | zov check |
| Build / run a local project | zov build · zov run |
| Run the embedded tests | zov --test file.zov |
| Explain a diagnostic | zov explain E0601 |
| List every diagnostic code | zov diagnostics |
Dependencies
Section titled “Dependencies”| Task | Command |
|---|---|
| Fetch remote dependencies | zov pkg fetch |
| Build with resolved dependencies | zov pkg build |
| Add a path dependency | zov pkg add NAME --path PATH |
| Add a Git dependency | zov pkg add NAME --git URL |
| Show the dependency graph | zov pkg tree |
| Refresh the lockfile | zov pkg lock |
Dependency kinds behave differently:
- path — resolved locally, ready immediately
- git / url — must be fetched once (
zov pkg fetch) before the offline compiler can build the project
The project manifest is zov.toml; its zovc field pins the minimum
compiler version and is enforced on every build.
All package subcommands
Section titled “All package subcommands”zov pkg exposes: init, install, fetch, add, check, build,
run, tree, lock, toolchain, and version. Run zov pkg --help for
per-command options.
One-shot compilation, no manifest required:
zov main.zov -o app./appManifest-driven, scales to dependencies:
zov init appcd appzov runEditor tooling
Section titled “Editor tooling”zov-lsp and the editor extensions
(VS Code, Zed, IntelliJ, Neovim)
are installed separately from the compiler. The historical v0.9.0 archive
bundled the language server; current source builds and rolling nightlies use
the split repositories. See Editor
integrations for per-editor release
tags and the combined nightly builds.