Skip to content

CLI reference ​

bash
npx contexai [path] [flags]
npx contexai start [path] [flags]
npx contexai dev [path] [flags]    # contributors / package source

Arguments ​

ArgumentDescription
pathFolder to scan. Defaults to the current working directory.

Flags ​

FlagDefaultDescription
--port <n>3927HTTP port
--host <h>127.0.0.1Bind address
--no-openoffDo not open the browser

Environment ​

VariableDescription
CONTEXAI_REPOFolder to scan (set by the CLI)
PORT / NITRO_PORTSame as --port
HOST / NITRO_HOSTSame as --host

Examples ​

bash
npx contexai
npx contexai ./apps/web --port 4000
npx contexai /tmp/demo --no-open