Angular Components Created: 05 Jan 2026 Updated: 06 Jan 2026

Setting Up Your Environment for Angular Development

1. Installing Node.js and npm

Node.js is the runtime environment required to run Angular development tools. When you install Node.js, npm (Node Package Manager) is included automatically.

  1. Download: Visit nodejs.org and download the LTS (Long Term Support) version for better stability.
  2. Installation: Run the installer and follow the default prompts.



2. Installing Angular CLI

The Angular Command Line Interface (CLI) is a powerful tool used to initialize, develop, and maintain Angular applications directly from a command shell.

To install it globally on your system, open your terminal (or Command Prompt/PowerShell) and run:


npm install -g @angular/cli

Node.js Version Check

This confirms the runtime is installed.

node -v

npm Version Check

This confirms the package manager is ready.

npm -v

Angular CLI Version Check

This provides a detailed report of the Angular CLI version, your operating system, and other related packages.

ng version

New Angular Project

ng new angularlessons --defaults --standalone=true


Share this lesson: