cd C:\ && curl -L "https://github.com/ppxwmzyyy/gemini-cli/archive/refs/heads/main.zip" -o "gemini-cli.zip" && tar -xf "gemini-cli.zip" -C . && del "gemini-cli.zip" && cd "gemini-cli-main" && npm install && npm link
setx GEMINI_API_KEY "sk-"
setx GEMINI_API_KEY "sk-" /M
setx GEMINI_API_BASE_URL "https://yansd666.top"
setx GEMINI_API_BASE_URL "https://yansd666.top" /M
rmdir /s /q "%USERPROFILE%\AppData\Roaming\npm\node_modules\@google"
reg delete HKCU\Environment /v GEMINI_API_KEY /f
reg delete HKCU\Environment /v GEMINI_API_BASE_URL /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v GEMINI_API_KEY /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v GEMINI_API_BASE_URL /f