mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-05 04:31:31 -05:00
452 B
452 B
Custom registries
pnpm follows whatever is configured as npm registries. To use a custom registry, use npm config:
# updates ~/.npmrc
npm config set registry http://npmjs.eu
Or to use it for just one command, use environment variables:
env npm_registry=http://npmjs.eu pnpm install
Private registries are supported, as well.
npm config set @mycompany:registry https://npm.mycompany.com
pnpm install @mycompany/foo