1. Win Command
-
command_one & command_two
command_one和command_two都会执行 -
command_one && command_two
command_one运行成功,没出错才运行command_two -
command_one || command_two
command_one运行不成功,出错才运行command_two
2. Node安装
-
安装 Node V20.12.2 X64
-
设置PATH:D:\Install\Antora\Node
node -v && npm -v
v20.12.2
10.5.0
|
3. Production
PATH:D:\Install\Antora\Node
npm config set cache "D:/Install/Antora/Node/NodeCache"
# 此处考虑到antora,设置路径为D:/Install/Antora/Node
# npm config set prefix "D:/Install/Antora/Node/NodePrefix"
npm config set prefix "D:/Install/Antora/Node"
7. Set
npm config set <key>=<value>...
npm config set cache "D:/Install/Antora/Node/NodeCache"
npm config set prefix "D:/Install/Antora/Node/NodePrefix"
npm config set registry https://registry.npmjs.org
npm config set registry https://registry.npm.taobao.org