CLI & Developer Proxy Command Generator

Enter your local mixed port to generate ready-to-paste enable and reset commands for zsh / bash, PowerShell, Git, Claude Code, WSL2, and Docker.

开启代理命令
取消还原与进阶用法

No admin rights on a work PC, or tired of per-shell env vars?

Roxi Desktop offers both modes: ① Port-Only Mode listens quietly on 127.0.0.1:12334 without admin password (portable Windows ZIP available); ② Windows TUN Mode transparently routes WSL2, Docker, and native AI CLIs.

Why does ping still fail when terminal proxy is active?

ping uses raw ICMP packets, which HTTP and SOCKS5 proxies never carry. Always verify terminal proxy connectivity with curl -I https://www.google.com.

Node 20/22 & Claude Code Fetch Pitfall

Built-in Node undici fetch ignores HTTP_PROXY by default — export NODE_USE_ENV_PROXY=1 alongside HTTPS_PROXY or enable system TUN Mode.

Proxy GitHub Only Without Breaking Intranet GitLab

Scoped http.https://github.com.proxy rules accelerate GitHub clones while leaving internal corporate Git servers untouched.

Uses socks5h:// by Default to Prevent DNS Poisoning

Plain socks5:// leaks DNS queries locally; our snippets use socks5h:// so hostnames resolve cleanly through the encrypted tunnel.