# CLI Overview

> Use the sevok CLI to run a server entry in development or production.

## Running the CLI

After installation:

```bash
sevok
```

Without installation:

<pm-x command="sevok"></pm-x>

## Default Entry Resolution

When `--entry` is omitted, the CLI searches for common entry files such as:

- `server.ts`
- `server.mjs`
- `src/server.ts`
- `src/server.mjs`

If you want to run another filename or a `.tsx` entry, pass it explicitly.

## Environment Variables

- `PORT`: default port when `--port` is omitted
- `HOST`: default host when `--host` / `--hostname` is omitted
- `NODE_ENV`: defaults to `development` or `production` based on `--prod`
