Getting started with angular in windows 10
STEP 1: DOWNLOAD & INSTALL NODE JS ON YOUR PC
Open your browser and navigate to: https://nodejs.org/en/ than
Download the current version of Node JS.
node –v
STEP 2: INSTALL ANGULAR CLI GLOBALLY
Angular CLI is a command line
interface for Angular. To install the Angular CLI;
Open your command prompt, and type “npm install -g @angular/cli”
ng --version
uninstalling cli
npm uninstall -g @angular/cli
npm cache clean
npm cache verify
Installing specific angular cli
"@angular/cli": "~7.3.8",
npm install -g
@angular/cli@wished.version.here
npm install -g @angular/cli@
7.3.8Step 3: Create a new app
ng new first-angular
Step 4: Start the app
npm start
0 comments:
Post a Comment