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

Installing Node.js

First off, we need to install the most up-to-date Node.js version. At the time of writing this book, Node.js's latest update is v6.3.0. You can go to the Node.js website at https://nodejs.org/en/ and choose your platform. For this book, we are using Mac OS X, but the examples can be followed on any platform.

To check the Node and Node Package Manager (NPM) version, open your terminal/shell and type these:

  • node -v
    
  • npm -v
    

The book uses Node version 6.3.0 and NPM version 3.10.3

Installing Yeoman

Throughout this book, we will use some tools that accelerate our development process. One of them is called Yeoman (more information can be found at http://yeoman.io/), a powerful web application generator.

Now let's install the generator. Open your terminal/shell and type the following code:

npm install -g yo
主站蜘蛛池模板: 武清区| 曲麻莱县| 革吉县| 黔江区| 东光县| 正阳县| 山丹县| 宁安市| 黄冈市| 隆安县| 哈尔滨市| 开原市| 霸州市| 六盘水市| 大竹县| 克东县| 辽阳县| 辽宁省| 宣威市| 安达市| 新乡县| 清徐县| 越西县| 河东区| 丰都县| 怀柔区| 滕州市| 宜兰县| 鄄城县| 拉萨市| 闽清县| 武功县| 扎鲁特旗| 桂东县| 新源县| 张家口市| 明星| 石台县| 岳阳县| 阜南县| 固镇县|