mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
Hello yarn berry
This commit is contained in:
1 parent
04a4306895
commit
782f334a27
62 files changed
+448
-239
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"`;
|
||||
if (__user !== 'root') log.fatal('请使用 root 用户运行该工具。');
|
||||
if (__arch !== 'amd64') log.fatal('不支持的架构 %s ,请尝试手动安装', __arch);
|
||||
const dev = (cli.prompt('您是否希望安装为开发模式?(y/N)') || 'n').toLowerCase().trim() === 'y';
|
||||
const dev = !!cli.get('dev');
|
||||
|
||||
const _NODE_ = [
|
||||
'https://mirrors.tuna.tsinghua.edu.cn/nodejs-release',
|
||||
|
||||
Reference in new issue
Block a user