Skip to content

Instantly share code, notes, and snippets.

@Plou
Created February 18, 2014 08:52
Show Gist options
  • Select an option

  • Save Plou/9067124 to your computer and use it in GitHub Desktop.

Select an option

Save Plou/9067124 to your computer and use it in GitHub Desktop.
Using the European npm mirror

Using the European npm mirror

To install :

npm install --registry http://registry.npmjs.org packagename

To keep using the European registry :

This will update your .npmrc to include the following line registry = http://registry.npmjs.eu/

npm config set registry http://registry.npmjs.eu

To publish :

npm publish --registry http://registry.nodejs.org

You can set this in your package.json file

"publishConfig": {
  "registry":"http://registry.npmjs.org/"
}
@mikolayek
Copy link

given EU registry doesn't work anymore. Please check details visiting url: http://registry.npmjs.eu

@N3oRay
Copy link

N3oRay commented Jul 23, 2025

http://registry.npmjs.eu/ doesn't work :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment