How to download/Install AngularJS:From Scratch Complete Setup | Tutorial4You | Tutorial 1

Channel:
Subscribers:
25,900
Published on ● Video Link: https://www.youtube.com/watch?v=Q-CJK8xq0AQ



Category:
Tutorial
Duration: 5:34
20,130 views
192


How to download/Install AngularJS:From Scratch Complete Setup | Tutorial4You | Tutorial 1



Please Subscribe and if this Video Help you,
Please Like this Video.

This tutorial explains how to set up your environment for Angular development using the Angular CLI tool. It includes information about prerequisites, installing the CLI, creating an initial workspace and starter app, and running that app locally to verify your setup.

Before you begin, make sure your development environment includes Node.js® and an npm package manager.
Angular requires Node.js version 10.9.0 or later.
To check your version, run node -v in a terminal/console window.
To get Node.js, go to nodejs.org.

Angular, the Angular CLI, and Angular apps depend on features and functionality provided by libraries that are available as npm packages. To download and install npm packages, you must have an npm package manager.

This setup guide uses the npm client command line interface, which is installed with Node.js by default.

To check that you have the npm client installed, run npm -v in a terminal/console window.

How to download/Install AngularJS
Step 1: Install the Angular CLI
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.

Install the Angular CLI globally.

To install the CLI using npm, open a terminal/console window and enter the following command:
npm install -g @angular/cli



Step 2: Create a workspace and initial application
You develop apps in the context of an Angular workspace.
To create a new workspace and initial starter app:
Run the CLI command ng new and provide the name my-app, as shown here:
ng new my-app
The ng new command prompts you for information about features to include in the initial app. Accept the defaults by pressing the Enter or Return key.
The Angular CLI installs the necessary Angular npm packages and other dependencies. This can take a few minutes.
The CLI creates a new workspace and a simple Welcome app, ready to run.

Step 3: Run the application
The Angular CLI includes a server, so that you can easily build and serve your app locally.

Go to the workspace folder (my-app).

Launch the server by using the CLI command ng serve, with the --open option.
cd my-app
ng serve --open
The ng serve command launches the server, watches your files, and rebuilds the app as you make changes to those files.

The --open (or just -o) option automatically opens your browser to http://localhost:4200/.

Please Subscribe and if this Video Help you,
Please Like this Video.







Tags:
How to download/Install AngularJS:From Scratch Complete Setup | Tutorial4You | Tutorial 1
Angular
Angular CLI tool.Node.js
How to download node.js
How to download/Install AngularJS
how to download
tutorial4you
angular tutorial
best framework
tutorial
programing tutorial