npm how to set registry global code example Example: npm install custom registry npm config set registry npm install --registry=