Angular Js

Explain steps to setup an Angular development environment

Explain steps to setup an Angular development environment

Angular development environment

The following are necessary for installing Angular


1. Install Node.js and npm
Node.js and npm are the runtime and command line tools required to build and run Angular applications.
Node.js is a javascript runtime environment that enables you to run js code outside of a browser, and npm is a package manager used to download javascript packages built to run on Node. They come bundled together when you install Node.js.
Angular is built on top of Node.js, the Angular framework itself and the Angular CLI are both packages available on npm.
Download Node.js and npm from https://nodejs.org.


2. Install the Angular CLI
The Angular CLI is the de facto command line tool used to develop, build and test Angular applications.
For more info see https://cli.angular.io.
Install: Install the Angular CLI globally by running the command npm i -g @angular/cli
Test: Test that the Angular CLI was installed successfully by running the command ng --version.


3. Install the Git CLI
The Git CLI is the command line interface used for cloning and interacting with git repositories (e.g. projects on GitHub).
For more info see https://git-scm.com/book.
Download: Download the Git CLI from https://git-scm.com/downloads.
Install: Install the Git CLI by opening the downloaded installer
Test: Test that the Git CLI was installed successfully by running the command git --version.

4. Download and Install Visual Studio Code (VS Code)
VS Code is a free code editor that runs on Windows, Mac and Linux.
Download: Download VS Code from https://code.visualstudio.com/.
Install: Install Visual Studio Code by opening the downloaded setup file


Your Angular development environment is now setup and ready to go!





Related Post

About Us

Community of IT Professionals

A Complete IT knowledgebase for any kind of Software Language, Development, Programming, Coding, Designing, Networking, Hardware and Digital Marketing.

Instagram