Last Updated : 12 Jul, 2025
Angular is an open-source front-end web application framework that is used for building single-page and complex web applications. By default, angular uses TypeScript for creating logic but as the browser doesn't know typescript it converts typescript into javascript in order to make typescript understandable.
What is Angular CLI?Angular CLI (Command Line Interface) is a powerful tool for managing Angular Projects. It is a handy tool that makes building Angular apps easier and faster. It makes the development process easier by defining different commands for different operations. It keeps your project organized and consistent.
Note: Please make sure you have installed node and npm in your system. You can check your node version and npm version by using the following command:
node --versionNodejs and NPM version Steps To Create Application Using Angular CLI Step 1: Install Angular CLI
npm --version
npm install - g @angular/cliInstallation of Angular CLI Step 2: Create new Project
ng new myNewAppAngular project Creation Step 3: Navigate to your Project Directory
cd myNewAppProject Directory Navigation Step 4: Run Server and See Your Application
ng serveCommand to start the server Output Angular Project Setup Folder Structure: Folder Structure
src/ Folder: This is the main directory where all your application code exists. It contains everything necessary for building and running your app.
As a beginner you don't need these files at this time, don't bother about that. These all are used for editor configurations and information needed at compile time. The builtin webpack in angular CLI manages all for you.
For more reference, you can refer our article on Folder Structure of Angular.
More commands that you will need while working on the project:
ng generate component component_name
ng generate service service_name
ng generate directive directive_name
Angular CLI | Angular Project Setup
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4