官术网_书友最值得收藏!

Installing Node.js using nvm

After installing nvm, you need to install the version of Node.js we will use in this book: version 8.11.1. To install it, run this command:

nvm install 8.11.1

If you didn't have Node.js or nvm previously installed, it will automatically set this to your default Node.js installation, so the output of this command should be v8.11.1:

node --version

If you have existing Node.js versions installed, you can either use v8.11.1 as a default, or ensure that you run this command to use v8.11.1 when working through the examples in this book:

nvm use 8.11.1
You can create a file named .nvmrc in the folder with your code and populate it with the contents v8.11.1. You can run nvm use within this directory and it will set the version to 8.11.1 without having to specify it.
主站蜘蛛池模板: 怀化市| 抚远县| 海南省| 建阳市| 南投市| 毕节市| 澳门| 璧山县| 左云县| 积石山| 精河县| 凉山| 独山县| 镶黄旗| 鸡西市| 连城县| 沅陵县| 宿州市| 无棣县| 土默特右旗| 开阳县| 台东县| 革吉县| 盐源县| 札达县| 安庆市| 长丰县| 沐川县| 容城县| 布尔津县| 双辽市| 贵阳市| 开原市| 玛纳斯县| 谷城县| 宾阳县| 秦安县| 年辖:市辖区| 眉山市| 垫江县| 黎平县|