Goal

The goal of the following tutorial is to guide you on how to install all software required to start our journey with Angular. If have your environment ready, you can skip to next tutorial. However, if you never worked with Angular before this is a place to start at. Below steps will guide you on how to install all prerequisites regardless of platform (Windows, macOS, unix) you are using. Let's start!

1. Command line

Command line is a crucial for each developer. If you haven't used it before it's a high time to get familiar with it. It might look complicated and difficult to learn, however, once you put your hands on it you will find that is very powerful and useful tool.

Since you know how to run terminal, let's move to our runtime environment - Node.js.

2. Installing Node.js and Node Package Manager (npm)

3. Verifying installation

It's time to check that we have Node and NPM installed correctly. We will simply run few commands to see what version of each is installed and to run a simple test program:

  1. Test Node: Open command line and type:
    node -v
    This should print a version number, so you’ll see something like this:
    v8.9.1
  2. Test npm: To see if NPM is installed, type:
    npm -v
    This should print NPM’s version number so you’ll see something like this:
    5.5.1
  3. Verify JS: Create a file called hello.js and type inside:
    console.log("Hello world from Girish");

    Open terminal, navigate to folder where you have created a file and type

    node hello.js
    you should see following output:

hello world

Now let's get back to our current project.Click NEXT LESSON button to proceed further.

Watch the youtube video for this lesson