corepack icon indicating copy to clipboard operation
corepack copied to clipboard

[Question]How the 'COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1` use ?

Open uwang opened this issue 7 months ago • 1 comments

The document mentioned COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1 can use custom URL to download package manager. But not make detailed description.

I try that:

COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1 corepack install https://repo.yarnpkg.com/4.1.1/packages/yarnpkg-cli/bin/yarn.js

or

COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1 corepack prepare https://repo.yarnpkg.com/4.1.1/packages/yarnpkg-cli/bin/yarn.js

Noting worked. I have no idea. Thanks

uwang avatar Jul 06 '24 07:07 uwang