📄️ Installing Node.js and npm
For anyone looking to get started with Angular, the first important step is installing Node.js and npm. Node.js is a JavaScript runtime that allows you to run JavaScript on your server or your computer, while npm (Node Package Manager) is a package manager that comes with Node.js. npm is useful for installing libraries, packages, and applications.
📄️ Setting Up Angular CLI
In this tutorial, we'll learn about setting up Angular CLI (Command Line Interface). The Angular CLI is a powerful tool to initialize, develop, and maintain Angular applications. It can create a new Angular project, generate application and library code, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.
📄️ Creating a New Angular Project
Before starting to create a new Angular project, make sure that Node.js and npm(Node package manager) are installed in your system. If not, download and install the latest stable version of Node.js from the official website. npm comes bundled with Node.js, so when you install Node.js, npm will get installed automatically.
📄️ Running the Angular Application
Before we dive deep into running an Angular application, let's take a moment to understand what Angular is. Angular is a robust, open-source JavaScript framework developed and maintained by Google. It's primarily used for developing single-page web applications (SPA). It helps to extend HTML into a more expressive and readable format and also provides an environment to build a dynamic, fast, and efficient web application.