Taking the above comment into consideration we would need to use sudo for the curl.