npm config set registry http //registry.npmjs.org/ code example Example: npm install custom registry npm config set registry npm install --registry=