1. Download the latest version of Node.js from the official website.
2. Install Node.js on your computer.
3. Open the command prompt and type “npm install -g @angular/cli” to install the Angular CLI.
4. Create a new project by typing “ng new my-app”.
5. Change the directory to the project folder by typing “cd my-app”.
6. Run the project by typing “ng serve”.
7. Open your browser and type “localhost:4200” to view the project.
Install angular or angular CLI on Windows 11; Through this tutorial, you will learn how to install angular 16 on Windows 11 64-bit. And create the first angular project with the angular 16 version.
How to Install Angular 16 on Windows 11
Steps to install Angular 16 on your Windows 11 32, 64-bit system and created a new Angular project.
- Step 1: Verify Node.js and npm Installation
- Step 2: Install Angular CLI
- Step 3: Verify Angular CLI Installation
- Step 4: Create a New Angular Project
- Step 5: Serve the Angular Application
Step 1: Verify Node.js and npm Installation
First of all, Open the Command Prompt or Windows Terminal and execute the following commands to check if Node.js and npm are installed correctly:
node -v npm -v
Once you have executed the above command, You will see the version numbers of Node.js and npm printed in the console.
Step 2: Install Angular CLI
Next, you need to open the Command Prompt or Windows Terminal and execute the following command into it to creating and managing Angular projects by installing angular cli:
npm install -g @angular/cli
Step 3: Verify Angular CLI Installation
Once you have successfully installed angular cli in your windows system. Now, you need to verify that the Angular CLI by executing the following command:
ng --version
Step 4: Create a New Angular Project
Once you have installed angular cli, Now you can create a new Angular project. Choose a suitable location for your project and execute the following command to generate a new Angular application:
ng new my-angular-app
Replace my-angular-app
with the desired name of your Angular application.
Step 5: Serve the Angular Application
Now, Change the directory to your newly created Angular project directory by executing the following command:
cd my-angular-app
Then execute the following command on command prompt or cmd to test your Angular application:
ng serve
This will start a development server, and you can access your Angular app at http://localhost:4200/
in your web browser.
Conclusion
That’s it! You have successfully installed Angular 16 on your Windows 11 64-bit system and created a new Angular project.