0
0
mirror of https://github.com/tj/n.git synced 2024-11-22 02:57:32 +01:00

Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
John Gee 2022-01-15 09:45:04 +13:00
commit 8060fba8c5

View File

@ -223,7 +223,7 @@ Display diagnostics to help resolve problems:
If you would like to use a different Node.js mirror which has the same layout as the default <https://nodejs.org/dist/>, you can define `N_NODE_MIRROR`.
The most common example is from users in China who can define:
export N_NODE_MIRROR=https://npm.taobao.org/mirrors/node
export N_NODE_MIRROR=https://npmmirror.com/mirrors/node
If the custom mirror requires authentication you can add the [url-encoded](https://urlencode.org) username and password into the URL. e.g.