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

590 B

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