docs: fix to reflect the 301 redirect from npmjs.org to www.npmjs.org

Passing the curl output to sh was failing since the output was an
HTML from a 301 redirect, since npmjs.org is redirecting to
www.npmjs.org, therefore I changed the places where this was
mentioned.