Hey, there’s no official info about proxy support in the CLI, but you can try a workaround using the system proxy.
Try setting up the proxy in your OS settings (System Preferences > Network > Advanced > Proxies on macOS, or Settings > Network & Internet > Proxy on Windows). The CLI might pick up the system proxy automatically.
If that doesn’t help, please share:
- CLI version (run
agent --version) - OS and version
- What proxy you’re using (corporate or local, HTTP or SOCKS)
- The environment variables you’re exporting (paste the full command)
A similar question is here: Cursor CLI with proxy