0

I'm having troubles with setting up an angular4 project. I use this tutorial.

So when I type the first command:

node -v

I get v4.8.3, this is my first problem, how to update this to 6.10 in ubuntu.

Next command in the guide is

ng -v

I get this weird output

Mg++ version:
    Mg++ 1.5beta1 (formerly MicroGnuEmacs Adv.)

How can I change this so I can go trough with the setup for the angular4 project?

fangio
  • 147

1 Answers1

1

Use the command:

sudo apt-get remove ng

Then try ng -v if you have already installed angular 4.

Otherwise first use the command:

npm install -g @angular/cli. 
Eliah Kagan
  • 117,780