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