hunk.code_window:   const pkgDirs = await getPkgDirs(modules)
     return Promise.all(pkgDirs.map((pkgDir: string) => linkPkgBins(modules, pkgDir, preserveSymlinks)))
   }
   /**
    * Links executable into `node_modules/.bin`.
  
hunk.labels: keep replace keep keep keep keep
hunk.after_edit:   return Promise.all(pkgDirs.map((pkgDir: string) => linkPkgBins(pkgDir, binDir, preserveSymlinks)))
  
hunk.file_path: src/install/linkBins.ts
hunk.type: replace
file: # Custom registries
  
  pnpm follows whatever is configured as npm registries. To use a custom registry, use `npm config`:
  
  ```sh
  # 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.
  
  ```sh
  npm config set @mycompany:registry https://npm.mycompany.com
  pnpm install @mycompany/foo
  ```
  