CLIProxyAPI Tray organizes its files in the installation directory. Understanding this layout helps when troubleshooting, upgrading, or uninstalling.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kitephp/CLIProxyAPI-Tray/llms.txt
Use this file to discover all available pages before exploring further.
Installation directory
The install directory depends on how you installed the tray:| Method | Directory |
|---|---|
| One-line installer | %USERPROFILE%\.cli-proxy-api-tray\ |
| Clone method | The cloned repository directory itself |
config.yaml, settings.json, versions/, or logs/ when upgrading.
Files in the install directory
| File or folder | Description |
|---|---|
cli-proxy-api.ps1 | The tray application itself. All tray logic lives here. |
cli-proxy-api.vbs | A VBScript wrapper that launches cli-proxy-api.ps1 silently — no PowerShell console window appears. Used by the desktop shortcut. |
cli-proxy-api.ico | The icon shown in the taskbar notification area and on the desktop shortcut. |
install.ps1 | The one-line installer script. Downloads the latest tray files and creates the desktop shortcut. |
create-shortcut.bat | Creates or updates the desktop shortcut pointing to cli-proxy-api.vbs. Run this after cloning to set up the shortcut. |
config.example.yaml | Template configuration file. Copied to config.yaml on first run if config.yaml does not exist. |
config.yaml | Your active CLIProxyAPI configuration. Passed to CLIProxyAPI via --config. See config.yaml reference. |
settings.json | Tray state file. Stores the installed version, architecture, and toggle preferences. See settings.json reference. |
versions/ | Contains all downloaded CLIProxyAPI releases, each in its own subdirectory. |
logs/ | CLIProxyAPI writes log files here when logging-to-file: true is set in config.yaml. |
Versions directory
Each downloaded CLIProxyAPI release is stored in its own subdirectory:versions/ directory. Older versions are not automatically deleted — only the version recorded in settings.json is used when the service starts.
The active version is determined by the version field in settings.json. To switch versions manually, update that field and restart the service.
Settings fallback path
If the install directory is not writable,settings.json falls back to a user-local path:
Logs directory
CLIProxyAPI writes rotating log files tologs/ when logging-to-file: true is set in config.yaml. The tray does not create or manage log files itself — log rotation and cleanup are handled by CLIProxyAPI according to the logs-max-total-size-mb and error-logs-max-files settings.