Showing posts with label Angular-2. Show all posts
Showing posts with label Angular-2. Show all posts

@angular/cli installation.

Today, I had to spent lot of time on the "@angular/cli" installation.

My improper steps ate lot of time.

To install the "@angular/cli" in Ubuntu 16.04,  I  must had to follow the below steps.
Note: Before following below steps we should install nodeJS.

Step-1  Create a directory.
             mkdir angular2-demo
          

Step-2   Install  the angular cli globally      
            npm install -g @angular/cli 
          

Now, I'm going to create project with ng command but when I type the below command, it said ng not found.