Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install angular cli for node

I am trying to install angular cli but i am getting below the message. How can i install specific angular cli version for nodejs v6.x.x.which angular cli verion is suitable for nodsjs v6.x.x?

You are running version v6.x.x of node.js, which is not supported by angular CLI v6. The official Node.js version that is supported is 8.x and greater.
like image 612
Apple Orange Avatar asked Dec 04 '22 19:12

Apple Orange


1 Answers

I think the last version compatible with node 6.9.x is @angular/[email protected] Check this for all versions

npm uninstall -g @angular/cli
npm cache clean --force
npm install -g @angular/[email protected]
like image 130
Tim Martens Avatar answered Jan 14 '23 13:01

Tim Martens