| 317 | 317 | |
| 318 | 318 | ### Supported arguments |
| 319 | 319 | |
| 320 | +> \[!TIP] |
| 321 | +> None of the arguments are required. If you don't provide them, SillyTavern will use the settings in `config.yaml`. |
| 322 | + |
| 320 | 323 | | Option | Description | Type | |
| 321 | 324 | |-------------------------|------------------------------------------------------------------------------------------------------|----------| |
| 322 | 325 | | `--version` | Show version number | boolean | |
| 323 | | -| `--enableIPv6` | Enables IPv6. | boolean | |
| 324 | | -| `--enableIPv4` | Enables IPv4. | boolean | |
| 325 | | -| `--port` | Sets the port under which SillyTavern will run. If not provided falls back to yaml config 'port'. | number | |
| 326 | | -| `--dnsPreferIPv6` | Prefers IPv6 for dns. If not provided falls back to yaml config 'preferIPv6'. | boolean | |
| 327 | | -| `--autorun` | Automatically launch SillyTavern in the browser. If not provided falls back to yaml config 'autorun'.| boolean | |
| 328 | | -| `--autorunHostname` | The autorun hostname, probably best left on 'auto'. | string | |
| 329 | | -| `--autorunPortOverride` | Overrides the port for autorun. | string | |
| 330 | | -| `--listen` | SillyTavern is listening on all network interfaces. If not provided falls back to yaml config 'listen'.| boolean | |
| 331 | | -| `--corsProxy` | Enables CORS proxy. If not provided falls back to yaml config 'enableCorsProxy'. | boolean | |
| 332 | | -| `--disableCsrf` | Disables CSRF protection | boolean | |
| 333 | | -| `--ssl` | Enables SSL | boolean | |
| 334 | | -| `--certPath` | Path to your certificate file. | string | |
| 335 | | -| `--keyPath` | Path to your private key file. | string | |
| 336 | | -| `--whitelist` | Enables whitelist mode | boolean | |
| 337 | 326 | | `--dataRoot` | Root directory for data storage | string | |
| 338 | 327 | | `--avoidLocalhostport` | AvoidsSets usingthe 'localhost'port forunder autorunwhich inSillyTavern autowill mode. run | boolean number | |
| 328 | +| `--listen` | SillyTavern will listen on all network interfaces | boolean | |
| 329 | +| `--whitelist` | Enables whitelist mode | boolean | |
| 339 | 330 | | `--basicAuthMode` | Enables basic authentication | boolean | |
| 331 | +| `--enableIPv4` | Enables IPv4 protocol | boolean | |
| 332 | +| `--enableIPv6` | Enables IPv6 protocol | boolean | |
| 333 | +| `--listenAddressIPv4` | Specific IPv4 address to listen to | string | |
| 334 | +| `--listenAddressIPv6` | Specific IPv6 address to listen to | string | |
| 335 | +| `--dnsPreferIPv6` | Prefers IPv6 for DNS | boolean | |
| 336 | +| `--ssl` | Enables SSL | boolean | |
| 337 | +| `--certPath` | Path to your certificate file | string | |
| 338 | +| `--keyPath` | Path to your private key file | string | |
| 339 | +| `--autorun` | Automatically launch SillyTavern in the browser | boolean | |
| 340 | +| `--autorunHostname` | Autorun hostname | string | |
| 341 | +| `--autorunPortOverride` | Overrides the port for autorun | string | |
| 342 | +| `--avoidLocalhost` | Avoids using 'localhost' for autorun in auto mode | boolean | |
| 343 | +| `--corsProxy` | Enables CORS proxy | boolean | |
| 340 | 344 | | `--requestProxyEnabled` | Enables a use of proxy for outgoing requests | boolean | |
| 341 | 345 | | `--requestProxyUrl` | Request proxy URL (HTTP or SOCKS protocols) | string | |
| 342 | 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 | |