svrjs-nextjs-website/pages/docs/config/cli-options.md

15 lines
590 B
Markdown

---
title: CLI options
---
# CLI options
- _-h_, _-?_, _/h_, _/?_ or _--help_ - displays help
- _--clean_ - cleans up files created by SVR.JS
- _--reset_ - resets SVR.JS to default settings (**WARNING: DANGEROUS**)
- _--secure_ - runs HTTPS server
- _--disable-mods_ - disables mods (safe mode)
- _--single-threaded_ - runs single-threaded
- _--stdout-notty_ - enable `stdout` even when `stdout` is not a TTY. May decrease the performace. (SVR.JS 4.2.0 or newer)
- _--no-save-config_ - don't save configuration file (SVR.JS 4.2.0 or newer)
- _-v_ or _--version_ - displays server version