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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay