Skip to content

CLI workflow ​

The kirn driver is the main entry point.

CommandPurpose
kirn run file.knRun a program
kirn new nameScaffold a project
kirn testRun tests
kirn buildBuild a program
kirn installInstall a package
kirn addAdd a dependency
kirn updateUpdate dependencies
kirn removeRemove a dependency
kirn docServe Markdown and API documentation

A normal loop ​

bash
kirn new hello
cd hello
kirn run code/main.kn
kirn test
kirn build --release

Build options include --debug, --release, --target, --native, --asan, -S, -O, and -o. Run kirn without arguments for the current help output.