From 2ad4ba210239a35b0b13129418bbb37fda4bcafa Mon Sep 17 00:00:00 2001 From: Dan Dascalescu Date: Mon, 5 Feb 2018 19:10:37 -0800 Subject: [PATCH] docs(readme): add configuring example close #1031 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0fda0456de..2e14ab7443 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,9 @@ pnpx create-react-app my-cool-new-app ### Configuring pnpm uses npm's programmatic API to read configs. Hence, you should set configs for pnpm the same way you would for npm. +For example, + + npm config set store /path/to/.pnpm-store Furthermore, pnpm uses the same configs that npm uses for doing installations. If you have a private registry and npm is configured to work with it, pnpm should be able to authorize requests as well, with no additional configuration.