First of all, you might have to install some dependencies, more specifically node.js and the Angular CLI. You’ll be using Typescript, which can be installed via npm.
nvm install 8.11.4
nvm use 8.11.4
The Angular CLI in version 7 requires a node.js version >= 8.9. I have only tested 8.11.4, you might want to install a newer version.
TypeScript & Angular CLI
After installing node.js, you can install TypeScript and the Angular CLI globally with
npm install -g @angular/cli typescript
Creating an application
Once all requirements have been met, we are ready to create a new Angular application by using the Angular CLI.