npm和yarn的区别,我们该如何选择? yarn国内源 # 国内源tyarn安装 $ npm i yarn tyarn -g # 查看版本,在使用时 yarn 换成 tyarn即可 $ tyarn -v