编辑 ~/.curlrc 文件:

proxy = 用户名:密码@host:port
# 或者
proxy = host:port