CLIProxyAPI Tray manages CLIProxyAPI versions independently of any system-level package manager. Each version is downloaded from GitHub Releases and stored in its own subfolder, so multiple versions can coexist on disk without conflict.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.
How versions are stored
Every downloaded release lives under theversions/ directory inside your install folder:
settings.json as the version field (e.g. "v6.7.37"). When you start CLIProxyAPI, the tray looks up that tag and launches versions/{tag}/cli-proxy-api.exe.
Download package naming
The tray constructs the asset filename from the version tag and detected architecture:CLIProxyAPI_6.7.37_windows_amd64.zipCLIProxyAPI_6.7.37_windows_arm64.zip
cli-proxy-api.exe is copied to versions/{tag}/ and the zip is deleted.
Architecture detection
The tray detects your CPU architecture at runtime and stores it insettings.json as arch:
| Value | Meaning |
|---|---|
amd64 | Standard 64-bit x86 Windows (most desktops and laptops) |
arm64 | Windows on ARM (Surface Pro X, Snapdragon-based devices) |
First-time install
If no version is installed when you click Start:Tray fetches the latest tag
The tray queries the GitHub API for the latest release of
router-for-me/CLIProxyAPI.Download confirmation dialog
A dialog shows the latest version and your architecture. Click Yes to download.
Download and extract
The zip is downloaded to a temp directory, extracted, and
cli-proxy-api.exe is copied to versions/{tag}/.versions/ directory for any existing binary and uses the newest one found. If none exist, the tray cannot start CLIProxyAPI.
Updating versions
See Auto update and manual update for the full update flow. Key points:- Old versions are never deleted automatically — they accumulate in
versions/ - If a download fails, the temp directory is cleaned up and state rolls back to the previous version
- You can manually delete old version folders from
versions/to reclaim disk space
If you delete the
versions/ directory entirely, the tray will prompt you to download again the next time you click Start.