2.1.1. 前言
GitBook 需要使用 node.js
命令
因此,在具体使用之前需要在机器上安装 node.js
,如果机器中之前已经安装过 node.js
,这里可以直接跳过。
2.1.2. node 官网资源下载
node 官网 LTS 资源下载链接(以下下载链接中 node 版本为 v10.15.1
,其中包含 v6.4.1
npm):
Windows 安装程序 (.msi) (.msi) | 32-bit | 64-bit | ||||
---|---|---|---|---|---|---|
Windows 二进制包 (.zip) | 32-bit | 64-bit | ||||
macOS 安装程序 (.pkg) | 64-bit | |||||
macOS 二进制包 (.tar.gz) | 64-bit | |||||
Linux 二进制包 (x64) | 64-bit | |||||
Linux 二进制包 (ARM) | ARMv6 | ARMv7 | ARMv8 | |||
源码 | node-v10.15.1.tar.gz |
2.1.3. GitHub NVM 下载
GitHub 中 nvm 只包含 windows 版本,mac 与 linux 平台无法使用。