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

Node.js installation

Before we start talking about what Node is and why it's useful, you need to first install Node on your machine, because in the next couple of sections, we'll want to run a little bit of Node code.

Now, to get started, we just need two programs—a browser, I'll be using Chrome throughout the book, but any browser will do, and Terminal. I'll use Spotlight to open up Terminal, which is what it's known as on my operating system.

If you're on Windows, look for the Command Prompt, you can search using the Windows key and then by typing command prompt, and on Linux, you're looking for the command line, although depending on your distribution it might be called Terminal or Command Prompt.

Now, once you have that program open, you'll see a screen, as shown in the following screenshot:

Essentially, it's waiting for you to run a command. We'll run quite a few commands from Terminal throughout the book. I'll discuss it in a few sections later, so if you've never used this before, you can start navigating comfortably.

主站蜘蛛池模板: 阳西县| 丰台区| 章丘市| 元朗区| 花垣县| 高陵县| 蒙自县| 小金县| 五台县| 西丰县| 永康市| 额济纳旗| 丽水市| 韶关市| 宝兴县| 荔波县| 弥渡县| 临桂县| 长岛县| 抚顺市| 凌源市| 抚顺市| 汉源县| 焦作市| 杭州市| 且末县| 嘉鱼县| 齐齐哈尔市| 依兰县| 东城区| 宣恩县| 天镇县| 岗巴县| 吉安市| 永济市| 西和县| 偃师市| 福安市| 庄浪县| 门头沟区| 瑞金市|