linux install angular cli code example
Example 1: install angular cli
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
Example 2: install dependencies angular
//some useful libraries to install in angular
npm install aos --save //AOS animation
npm install --save @fortawesome/fontawesome-free //fontawesome library
"styles": [
"node_modules/@fortawesome/fontawesome-free/css/all.css"
]
"scripts": [
"node_modules/@fortawesome/fontawesome-free/js/all.js"
]
//Angular material and Flex-Layout
ng add @angular/material / npm i @angular/material
npm install -s @angular/flex-layout
npm i @angular/cdk --save