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