izwi config
izwi config
Manage configuration.
Synopsis
izwi config <COMMAND>Subcommands
| Command | Description |
|---|---|
show | Show current configuration |
set | Set a configuration value |
get | Get a configuration value |
edit | Edit in default editor |
reset | Reset to defaults |
path | Show config file path |
izwi config show
Display the current configuration.
izwi config showizwi config set
Set a configuration value.
izwi config set <KEY> <VALUE>Examples
izwi config set server.host 0.0.0.0 izwi config set server.port 9000 izwi config set models.dir /path/to/modelsizwi config get
Get a specific configuration value.
izwi config get <KEY>Examples
izwi config get server.port izwi config get models.dirizwi config edit
Open the configuration file in your default editor.
izwi config editUses $EDITOR environment variable, or falls back to system default.
izwi config reset
Reset configuration to defaults.
izwi config reset izwi config reset --yesOptions
| Option | Description |
|---|---|
-y, --yes | Reset without confirmation |
izwi config path
Show the configuration file path.
izwi config pathConfiguration File
The configuration file is TOML format:
[server] host = "0.0.0.0" port = 8080 [models] dir = "/path/to/models" [inference] max_batch_size = 8 use_metal = trueFile Locations
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/izwi/config.toml |
| Linux | ~/.config/izwi/config.toml |
| Windows | %APPDATA%\izwi\config.toml |
See Also
- izwi serve — Server options