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

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.
主站蜘蛛池模板: 海原县| 花垣县| 吉林市| 吉首市| 隆德县| 依兰县| 吉水县| 太和县| 天峨县| 额济纳旗| 万安县| 天气| 开化县| 通江县| 闽清县| 会宁县| 西乌珠穆沁旗| 大关县| 札达县| 合川市| 西吉县| 广灵县| 眉山市| 贵溪市| 西华县| 石楼县| 九江县| 穆棱市| 诸城市| 菏泽市| 东乌| 石林| 高碑店市| 青海省| 新乡市| 保德县| 民县| 丽水市| 淮安市| 体育| 南宁市|