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