The post Install Angular on Windows appeared first on OctopusCodes.
]]>Download and Install latest version of Visual Studio Code in Windows from url https://code.visualstudio.com/download

Download and Install latest version of Node.js from url https://nodejs.org/en/download

Create a new folder named OctopusCodes.com. In Visual Studio Code, select the folder just created. Press “Ctrl + Shift + P” to open the command palette. Type “profile” in the searcher. Select “Terminal: Select Default Profile“. Select “Command Prompt“

Type the command “npm install -g @angular/cli” on the command prompt and press enter to install Angular CLI

Type the command “ng new AngularOctopusCodesCom” on the command prompt and press enter to create new Angular App. Press “y” to create routing in Angular App.

select “CSS” from the list to generate css file.

Angular project structure after installation.

Type the command “cd AngularOctopusCodesCom” on the command prompt to select AngularOctopusCodesCom folder

Type the command “ng serve –open” on the command prompt to start the application and automatically launch it in a new browser window.

Now, Angualr App is running in browser at url http://localhost:4200

The post Install Angular on Windows appeared first on OctopusCodes.
]]>