Skip to content

Configuration ​

yuke keeps its files in these folders. yuke uses each XDG variable when it is set to an absolute path. Otherwise, it uses the default.

FolderDefaultContents
$XDG_CONFIG_HOME/yuke~/.config/yukeconfig.json, providers.json, mcp.json, plugins.lock, and your local plugins
$XDG_DATA_HOME/yuke~/.local/share/yukeSessions, auth.json, mcp-trust/, git/ (installed Git plugins), and plugins/<name>/
$XDG_CACHE_HOME/yuke~/.cache/yukeFiles that yuke can create again, such as the JavaScript of your TypeScript plugins and the Git clones of plugins
~/.local/lib/yuke~/.local/lib/yukeThe installed release: the public TypeScript API, the protocol bindings, these guides, and the agent skill

Each plugin has its own data folder, plugins/<name>/ in the data folder. A plugin reads its path from ctx.dataDir, and the folder stays across reloads. The bundled chat plugin keeps your last model choice in plugins/chat/choice.json. The bundled themes plugin keeps the selected theme in plugins/themes/theme.json.

Profiles ​

Set YUKE_APPNAME to use another profile:

sh
YUKE_APPNAME=yuke-work yuke

This profile uses ~/.config/yuke-work, ~/.local/share/yuke-work, and ~/.cache/yuke-work. An empty value gives yuke. yuke does not check the name, so use a plain folder name. The installer writes the tsconfig.json of the editor into the config folder of the same variable.

config.json ​

config.json accepts JSON with // and /* */ comments. A missing file uses the defaults. An unknown field, a bad value, or a JSON error stops startup, and the error names the file.

KeyDefaultDescription
plugins[]Your plugins: local folders or Git repositories. See Plugins.
disable[]Bundled plugins to turn off, by name, such as ["toasts"].
bundled{}Options for bundled plugins, by name.
sessionIdleMinutes30How long background jobs keep running in a session that no pane or client has open. After this time, yuke closes the session and stops its jobs.

Plugins ​

The plugins list loads your plugins, in order. An entry is a local folder or a Git repository:

json
{
  "plugins": [
    "./plugins/hello",
    { "git": "https://github.com/lostcoords/yuke-plugins", "folder": "plugins/vim" }
  ]
}

Use /plugins in the TUI or yuke plugin add to add a plugin. See Plugins for the entry keys, the plugin commands, and the bundled plugins.

Environment variables ​

VariableUse
XDG_CONFIG_HOME, XDG_DATA_HOME, XDG_CACHE_HOMEMove the folders in the table above.
YUKE_APPNAMESelect another profile.
ANTHROPIC_API_KEY and the other variables of ProvidersGive a provider an API key.
SSL_CERT_FILE, SSL_CERT_DIRName the root certificates. See Network.
COLORTERMThe values truecolor and 24bit turn on 24-bit colors in the TUI. See Themes.

yuke reads no proxy variable. See Network.