Thanks to its robust feature set, scalability and ease of use, Angular has quickly become one of the most popular frameworks for building web apps.
If you want to learn Angular and build a project using it, the first step you need to take is to install Angular. The installation process is pretty similar across Windows, macOS and Linux operating systems. However, we’d still recommend following the specific instructions for your system to get the best results.
Here are the main steps for getting Angular up and running on a Windows machine.
Install Node.js and npm
The first prerequisite for installing Angular is having Node.js and npm (Node Package Manager) installed on your machine. If you don’t have them installed, you can download and install the latest version of Node.js from the official Node.js website (the npm is included).
Install Angular CLI
As a next step, you need to install the Angular CLI tool. To do the installation globally on your system, simply open the Command Prompt and run the npm install -g @angular/cli command. This will install the latest version of the Angular CLI and make it available for use throughout your system.
Create a New Angular Project
At this stage, you are ready to create your first Angular project. To do this, simply run the “ng new” command with a project name of your choice. The CLI will ask you to select some configuration options, such as whether to include Angular routing and specific stylesheet format to use (CSS, SCSS, etc.) After you are done with selecting your preferred configuration options, the CLI will create a new project in the respective directory.
Navigate to the Project Directory and Serve the Application
Run the ng serve command to compile your application and start a local development server.
If you are using the Kendo UI for Angular library, you can also check “How to Install Kendo UI for Angular” documentation to get familiar with setting up an Angular project and using the Kendo UI for Angular components.
Discover More About Kendo UI for Angular
Visit the Kendo UI for Angular page to discover detailed information, features, and benefits