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

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.
主站蜘蛛池模板: 玉环县| 托克逊县| 涪陵区| 房产| 沈阳市| 张家口市| 潜江市| 田林县| 广宁县| 西峡县| 南昌县| 辽宁省| 盐城市| 赣榆县| 北流市| 洛阳市| 额济纳旗| 资讯 | 长宁区| 永宁县| 六盘水市| 元谋县| 吴桥县| 施甸县| 晋中市| 荆州市| 虞城县| 桃园县| 南康市| 永城市| 康平县| 桐柏县| 望江县| 昌邑市| 长宁区| 元朗区| 襄樊市| 昔阳县| 奉节县| 铜山县| 万州区|