revert to curl + enable sudo