> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.stacktrack.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](https://docs.npmjs.com/misc/scope) 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.