Now, we need to create a workspace and initialize a new application.
Fist of all, let’s create a new workspace (“Forms”) and initial starter app by running this command:
npm install -g @angular/cli
In this videos, you will learn how to:
- Install Nodejs for Windows.
- Install Visual Studio Code IDE
- Install Angular 8 CLI.
1) Install NodeJs for Windows :
In order to use Angular 8 in web application development, we need to install NodeJs server.
You can download it from the official web site.
2) Install Visual Studio Code IDE :
VS code is a very good code editor used by the majority of the developers, especially for web development front end. It’s a freeware and you can download it from Microsoft web site.
3) Install Angular 8 CLI :
Angular CLI is the Command Line Interfaces. You use the Angular CLI to create projects, generate application and library code, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.
To install the CLI using npm
, open a terminal/console window and enter the following command:
ng new Forms
The Angular CLI installs the necessary Angular npm packages and other dependencies. This can take a few minutes.
Finally, let’s run the application by this command:
ng serve --open
The ng serve
command launches the server, watches your files, and rebuilds the app as you make changes to those files.
Follow Me For Updates
Subscribe to my YouTube channel or follow me on Twitter or GitHub to be notified when I post new content.
[…] set up an new angular application you can see our tutorial in this link, for installing NodeJs and create a new angular 8 […]