CLI Overview
Use the sevok CLI to run a server entry in development or production.
Running the CLI
After installation:
sevok
Without installation:
npx sevok
yarn dlx sevok
pnpm dlx sevok
bunx sevok
deno run -A npm:sevok
Default Entry Resolution
When --entry is omitted, the CLI searches for common entry files such as:
server.tsserver.mjssrc/server.tssrc/server.mjs
If you want to run another filename or a .tsx entry, pass it explicitly.
Environment Variables
PORT: default port when--portis omittedHOST: default host when--host/--hostnameis omittedNODE_ENV: defaults todevelopmentorproductionbased on--prod