| 317 | 317 | |
| 318 | 318 | ### Supported arguments |
| 319 | 319 | |
| 320 | | -| Option | Description | Type | |
| 320 | +> \[!TIP] |
| 321 | | -|-------------------------|------------------------------------------------------------------------------------------------------|----------| |
| 321 | +> None of the arguments are required. If you don't provide them, SillyTavern will use the settings in `config.yaml`. |
| 322 | | -| `--version` | Show version number | boolean | |
| 322 | + |
| 323 | | -| `--enableIPv6` | Enables IPv6. | boolean | |
| 323 | +| Option | Description | Type | |
| 324 | | -| `--enableIPv4` | Enables IPv4. | boolean | |
| 324 | +|-------------------------|----------------------------------------------------------------------|----------| |
| 325 | | -| `--port` | Sets the port under which SillyTavern will run. If not provided falls back to yaml config 'port'. | number | |
| 325 | +| `--version` | Show version number | boolean | |
| 326 | | -| `--dnsPreferIPv6` | Prefers IPv6 for dns. If not provided falls back to yaml config 'preferIPv6'. | boolean | |
| 326 | +| `--dataRoot` | Root directory for data storage | string | |
| 327 | | -| `--autorun` | Automatically launch SillyTavern in the browser. If not provided falls back to yaml config 'autorun'.| boolean | |
| 327 | +| `--port` | Sets the port under which SillyTavern will run | number | |
| 328 | 328 | | `--autorunHostnamelisten` | The autorunSillyTavern hostname,will probablylisten beston leftall onnetwork 'auto'. interfaces | string boolean | |
| 329 | 329 | | `--autorunPortOverridewhitelist` | Overrides the portEnables forwhitelist autorun. mode | string boolean | |
| 330 | | -| `--listen` | SillyTavern is listening on all network interfaces. If not provided falls back to yaml config 'listen'.| boolean | |
| 330 | +| `--basicAuthMode` | Enables basic authentication | boolean | |
| 331 | 331 | | `--corsProxyenableIPv4` | Enables CORS proxy. If not provided falls back to yaml configIPv4 'enableCorsProxy'. protocol | boolean | |
| 332 | 332 | | `--disableCsrfenableIPv6` | DisablesEnables CSRFIPv6 protection protocol | boolean | |
| 333 | 333 | | `--ssllistenAddressIPv4` | EnablesSpecific SSL IPv4 address to listen to | boolean string | |
| 334 | 334 | | `--certPathlistenAddressIPv6` | PathSpecific toIPv6 youraddress certificateto file. listen to | string | |
| 335 | 335 | | `--keyPathdnsPreferIPv6` | Path to yourPrefers privateIPv6 keyfor file. DNS | string boolean | |
| 336 | 336 | | `--whitelistssl` | Enables whitelist mode SSL | boolean | |
| 337 | 337 | | `--dataRootcertPath` | RootPath directoryto foryour datacertificate storage file | string | |
| 338 | 338 | | `--avoidLocalhostkeyPath` | Avoids using 'localhost'Path forto autorunyour inprivate autokey mode. file | boolean string | |
| 339 | 339 | | `--basicAuthModeautorun` | EnablesAutomatically basiclaunch authentication SillyTavern in the browser | boolean | |
| 340 | | -| `--requestProxyEnabled` | Enables a use of proxy for outgoing requests | boolean | |
| 340 | +| `--autorunHostname` | Autorun hostname | string | |
| 341 | 341 | | `--requestProxyUrlautorunPortOverride` | Request proxy| URLOverrides (HTTPthe orport SOCKSfor protocols) autorun | string | |
| 342 | 342 | | `--requestProxyBypassavoidLocalhost` | Request proxyAvoids bypassusing list'localhost' (spacefor separatedautorun listin ofauto hosts) mode | array boolean | |
| 343 | +| `--corsProxy` | Enables CORS proxy | boolean | |
| 344 | +| `--requestProxyEnabled` | Enables a use of proxy for outgoing requests | boolean | |
| 345 | +| `--requestProxyUrl` | Request proxy URL (HTTP or SOCKS protocols) | string | |
| 346 | +| `--requestProxyBypass` | Request proxy bypass list (space separated list of hosts) | array | |
| 347 | +| `--disableCsrf` | Disables CSRF protection (NOT RECOMMENDED) | boolean | |
| 343 | 348 | |
| 344 | 349 | ## Remote connections |
| 345 | 350 | |