Registries
Rush reads registry configuration from a .npmrc file in your project root — the same format used by npm and Yarn. No CLI flags needed; configuration lives in the file and applies to every rush command automatically.
Default registry
Section titled “Default registry”To replace registry.npmjs.org project-wide:
registry=https://registry.mycompany.comAll packages without a scope-specific override will be fetched from this URL.
Per-scope registry
Section titled “Per-scope registry”Route a specific npm scope to a private registry while leaving everything else on the public registry:
@myorg:registry=https://npm.mycompany.com@ui:registry=https://packages.design-system.com- Scoped packages (
@myorg/button) resolve using their matching@scope:registryentry. - Everything else falls back to
registry(orregistry.npmjs.orgif not set).
Combining both
Section titled “Combining both”registry=https://registry.mycompany.com@oss:registry=https://registry.npmjs.orgAll packages go to your private registry except @oss/*, which stays on the public one.