Setting a registry as your default registry
With Bytesafe you are able to control the flow of packages in and out of your organization. By setting your Bytesafe registry as you default registry,
you no longer will need to add the
--registry argument when you’re installing or publishing packages.
To configure clients to use a specific default registry, you simply need to run this command in the terminal, where example is replaced with the name of your own Bytesafe registry.
npm config set registry 'https://example.bytesafe.dev/r/default/'
This will set the
registry param in a users
With a default registry set, users can run npm commands without using the
npm install <package>
If you have not configured your registry as the default registry, you will need to be explicit:
npm --registry 'https://example.bytesafe.dev/r/default/' install <package>
For more information on how to setup per project registries and use project level
.npmrc files, see using per project registries page.