ℹ Info: Jump to specific commands:
zith check - Check code for errorszith compile - Compile to binaryzith build - Build projectzith run - Run program directlyzith new - Create new projectzith fmt - Format codeThe Zith CLI provides all the tools you need to develop, build, and run Zith programs. Each command is designed to be intuitive and follow Unix conventions.
All Zith commands follow this pattern:
zith <command> [options] [arguments]
These flags work with all commands:
| Flag | Description | Default |
|---|---|---|
--help, -h |
Show help message | - |
--version, -v |
Show version info | - |
--verbose |
Enable verbose output | false |
--config |
Specify config file | ZithProject.toml |
| Command | Purpose | Typical Use Case |
|---|---|---|
new |
Create new project | Starting a fresh project |
check |
Static analysis | Before committing code |
compile |
Generate binary | Production builds |
build |
Full build pipeline | Development workflow |
run |
Compile and execute | Quick testing |
fmt |
Format code | Before commits |
repl |
Interactive shell | Experimentation |
clean |
Remove build artifacts | Cleanup |
docs |
Generate documentation | Building docs |
💡 Tip: Use zith for detailed information about any command.