Articles on: Jenkins Build Service

Build your Nodejs with our NPM mirror

Here are a few ways to set our npm mirror.


npm config set registry https://repos.refinery.dev/repository/npm/

All packages will be pulled via our Mirror.


Or if you want to pull from multiple sources you should use scoping like this;

In the below example we scope the private package to your private repo while setting a default registry pointing to the mirror.


npm config set @myorg:registry https://privatenpm.com/  
npm config set registry https://repos.refinery.dev/repository/npm/

package.json
"dependencies": {  "@myorg/amazingApp": "^1.3.0"}


To install via the cli you can do this.


npm install express --registry https://repos.refinery.dev/repository/npm/


If you have any questions on need support let us know.

Updated on: 31/10/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!