Installing Packages
You install private modules in exactly the same way that you install any other npm module:
- Follow the steps outlined in the CLI Configuration documentation, to generate a token in your
.npmrc
file. - Follow the steps in Publishing Packages, to publish your first scoped module.
- Run
npm install @mycompany/my-test-module
, to install the private module that you published in the prior step.