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

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.

主站蜘蛛池模板: 镇远县| 十堰市| 吉木乃县| 饶平县| 凌云县| 博白县| 闽侯县| 宿松县| 社旗县| 乌拉特后旗| 射阳县| 奉化市| 股票| 民乐县| 甘肃省| 安徽省| 房产| 平阴县| 高雄县| 鄂州市| 锦州市| 绥阳县| 平湖市| 徐水县| 枝江市| 易门县| 内丘县| 广水市| 荥阳市| 怀集县| 平利县| 东港市| 绩溪县| 桐城市| 潞城市| 如皋市| 洪泽县| 淳安县| 东明县| 南康市| 江都市|