Skip to content

Command line

All the calculations are also available without a browser:

Terminal window
npx darzsaz demo my-kitchen.json # sample project
npx darzsaz check my-kitchen.json # design check; exit code 1 on errors
npx darzsaz nest my-kitchen.json # sheets used and yield
npx darzsaz export my-kitchen.json --out out --xlsx --dxf
npx darzsaz pdf my-kitchen.json --out out # PDF through the installed Chrome
npx darzsaz bom --json # any command with --json, for scripts
npx darzsaz bom --lang en-US # output and help in English; or DARZSAZ_LANG=en-US

The default is Persian. --lang works on every command; catalog product names are not translated.

The full list of commands and flags is in the CLI reference.