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

Installing Node and NPM

Node is the runtime that allows us to run JavaScript code on a server. It has gained massive favor over the last few years and is powering applications in almost every sector of technology. It is also one of the runtimes that can be chosen on Lambda functions.

Along with Node, we get Node Package Manager (npm), which is the largest ecosystem of open source libraries in the world. This is great for us and we'll be using some of these packages throughout this book.

To install Node and npm you can download the installation packages from nodejs.org or through a package manager. Make sure that you install at least version 8.11.1 because we will be using async/await in our work, and this requires at least version 8. Once you have installed everything you can test that it's working by typing node -v ; you should get something like v8.11.1. You can also test npm by typing npm -v.

主站蜘蛛池模板: 凤山县| 土默特右旗| 通州区| 孟连| 象州县| 云霄县| 合川市| 永修县| 怀集县| 西吉县| 牡丹江市| 津南区| 城固县| 山阴县| 西峡县| 丹阳市| 克东县| 南汇区| 佛坪县| 青海省| 浮梁县| 金山区| 陇川县| 四川省| 嘉义县| 景德镇市| 诏安县| 禹城市| 红河县| 崇礼县| 普定县| 延吉市| 商洛市| 龙井市| 台湾省| 剑河县| 安远县| 蛟河市| 万源市| 东山县| 安宁市|