DEV Community

Cover image for Node - Setting a custom npm server
Flavio Campelo
Flavio Campelo

Posted on

Node - Setting a custom npm server

📮 Contact 🇧🇷 🇺🇸 🇫🇷

Twitter
LinkedIn


Setting a custom npm server

You can execute these commands npm config

npm config set registry https://mySite.com/private/repo-npm

npm config set strict-ssl false
Enter fullscreen mode Exit fullscreen mode

or you can edit the file %userprofile%\.npmrc manually to change per-user config npmrc docs

registry=https://mySite.com/private/repo-npm

strict-ssl=false
Enter fullscreen mode Exit fullscreen mode

Typos or suggestions?

If you've found a typo, a sentence that could be improved or anything else that should be updated on this blog post, you can access it through a git repository and make a pull request. If you feel comfortable with github, instead of posting a comment, please go directly to https://github.com/campelo/documentation and open a new pull request with your changes.

Top comments (0)