Guides / CLI and toolchain

CLI and toolchain

Use the order calculator to see the normal development loop. From its first-silk directory:

silk check src/main.slk
silk test src/main.slk
silk build src/main.slk -o build/orders
./build/orders

check validates the module set, test runs assertions and emits TAP, and build writes the executable. A module set is the files compiled together; a package manifest can select them for you.

Choose the next command#

Task Command and details
Explore expressions silk repl
Select a build target silk build
Inspect a package silk package
Inspect module dependencies silk graph
Inspect artifact size silk size
Work with devices silk devices
Sign artifacts silk codesign
Format source silk format
Embed the compiler libsilk quickstart

If a command fails, use its error code to find the diagnostic. The CLI reference lists all flags, inputs, and output kinds.

Source repository · Edit this page · View Markdown

Quick links

Type to search across the site. Use the up and down arrow keys to choose a result, Enter to open it, and Escape to close.