Problems installing Angular

Having trouble installing Angular. I have the latest version of Node.js… Here is the error when installing Angular…

[jake@***** node-v10.16.0]# npm install -g angular/cli

let notifier = require(‘update-notifier’)({pkg})
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

Any ideas?

What version of Node.js do you have installed in your machine? According to the documentation, you need Node.js version 10.9.0 or later. Also check you have NPM client installed by running run npm -v in a terminal window.

After that you just need to install Angular CLI globally npm install -g @angular/cli

Create a project:
ng new my-app

Link to documentation: