-U user:password
or --proxy-user user:password
option:--proxy-digest
, --proxy-negotiate
, --proxy-ntlm
. The above example command again, but asking for NTLM auth with the proxy:--proxy-anyauth
. Asking curl to use any method the proxy wants is then like this: