Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The Lykn Development Workflow

The lykn CLI handles the entire development lifecycle:

lykn new → lykn run → lykn test → lykn compile → lykn lint → lykn publish

Create

lykn new my-app
cd my-app

Scaffolds a workspace with standard project structure, project.json, and a starter module.

Develop

lykn run packages/my-app/mod.lykn    # compile + run
lykn check packages/my-app/mod.lykn  # syntax check
lykn fmt -w packages/my-app/         # format in place

Test

lykn test                            # run all tests

Delegates to Deno’s test runner under the hood.

Build for Production

lykn compile packages/my-app/mod.lykn --strip-assertions -o dist/app.js

Lint

lykn lint                            # lint compiled output via Deno

Publish

lykn publish                         # publish package(s)

One Tool

The lykn binary is the single entry point. It delegates to Deno for running, testing, and linting, but the developer doesn’t need to know the underlying commands. One binary, one workflow.