William Ghelfi


How to make both npm and yarn use private registries

William Ghelfi's photo
William Ghelfi
ยทNov 4, 2020ยท

1 min read

Subscribe to my newsletter and never miss my upcoming articles

npm login --registry <YOUR_PRIVATE_REGISTRY_URL>
yarn config delete registry

then don't trust the autogenerated ~/.npmrc configuration and modify it like this:


๐Ÿป Cheers!