-j nproc开最多核
sudo systemd-nspawn -D ./archriscv/ –machine archriscv -a -U

1
2
3
4
5
6
$env:TEMP = "Y:\temp"
$env:TMP = "Y:\temp"
npm config set cache "Y:\npm-cache" --global
yarn config set cache-folder "Y:\yarn-cache"
# 然后在当前窗口里运行 yarn install(项目需位于 Y: 或任意盘)
yarn install