Installation and Environment Setup
Before you start building powerful Angular apps, you need to prepare your computer with the right tools.
Here is a simple, beginner-friendly guide to setting up everything you need.
Step 1: Install Visual Studio Code (VS Code)
VS Code is a popular, free code editor used by web developers around the world.
How to install
1. Go to the official website: https://code.visualstudio.com/Download
2. Choose the version that matches your operating system (Windows, macOS, or Linux).
3. Download and run the installer (.exe file on Windows).
4. Follow the setup instructions to complete the installation.
VS Code is a popular, free code editor used by web developers around the world.
How to install
1. Go to the official website: https://code.visualstudio.com/Download
2. Choose the version that matches your operating system (Windows, macOS, or Linux).
3. Download and run the installer (.exe file on Windows).
4. Follow the setup instructions to complete the installation.
Step 2: Install Node.js
Node.js is needed because Angular uses it to run development tools and manage packages.
How to install
1. Go to the Node.js website: https://nodejs.org/en
2. Choose the right installer for your system (Windows, macOS, or Linux).
3. Download and run the installer, then follow the instructions.
Check if Node.js is installed
Node.js is needed because Angular uses it to run development tools and manage packages.
How to install
1. Go to the Node.js website: https://nodejs.org/en
2. Choose the right installer for your system (Windows, macOS, or Linux).
3. Download and run the installer, then follow the instructions.
Check if Node.js is installed
- Open Command Prompt (Windows) or Terminal (macOS/Linux)
- Type this command and press Enter
node -v
If everything went well, you will see the Node.js version number.
Step 3: Install Angular CLI (Command Line Interface)
Angular CLI makes it easy to create, build, and run Angular apps.
How to install
Angular CLI makes it easy to create, build, and run Angular apps.
How to install
- Open Command Prompt or Terminal and type
npm install -g @angular/cli
The -g flag means it will be installed globally, so you can use it anywhere on your computer.
Check if Angular CLI is installed
- Type this command and press Enter
ng --version
If successful, you will see the Angular CLI version number.