CLI Examples

Run a standard TypeScript entry

sevok --entry ./server.ts

Run from a working directory

sevok --dir ./apps/api

Use a positional entry

sevok ./server.ts

Use a positional directory

sevok ./apps/api

Serve static files only

sevok --static ./public

Start in production mode

sevok --prod --entry ./server.ts

Run a JSX / TSX entry with jiti

JITI_JSX=1 sevok --entry ./server.tsx --import jiti/register

--import is currently intended for Node.js and Bun. Deno does not use that flag in this CLI flow.

Enable TLS

sevok --tls --cert ./certs/cert.pem --key ./certs/key.pem

Custom port and host

sevok --port 8080 --hostname 127.0.0.1