
Welcome to this beginner-friendly guide on how to create angular app! If you’re new to Angular or just starting your journey with web development, you’re in the right place. Angular is a powerful frontend framework by Google that helps you build dynamic, scalable web applications.
In this post, we’ll walk through the exact steps to create your first Angular app using the Angular CLI—all in just 10 minutes. No prior experience needed!
Why Learn Angular? (For Absolute Beginners)
Before we dive in, let’s clarify what makes Angular special for beginners:
- No prior frameworks required – You don’t need React or Vue experience to start.
- Built-in tools – The Angular CLI handles setup, testing, and deployment.
- Learn by doing – We’ll create a real app that looks and functions like a real project.
This guide is designed to be exactly what you need to get your first Angular app running.
Prerequisites: What You’ll Need
To follow this guide, you’ll need:
- Node.js (v18 or higher) – For running JavaScript tools.
- npm (Node Package Manager) – Comes with Node.js.
- A text editor (VS Code recommended).
✅ Check if you have Node.js: Run node -v in your terminal. If you don’t have it, download it here.
Step 1: Install Angular CLI
The Angular CLI is the command-line tool we’ll use to create and manage your app. Let’s install it:
npm install -g @angular/cliCode language: CSS (css)
What this does: Installs the Angular CLI globally so you can run ng commands from anywhere.
💡 Tip: If you get an error like npm ERR! command not found, make sure you’re using Node.js v18+.
Step 2: Create Your First Angular App
Now, it’s time to create your app! Run this command in your terminal:
ng new my-first-appCode language: JavaScript (javascript)
Key things to notice:
- Replace
my-first-appwith your preferred name (e.g.,my-blog). - The CLI will ask you to choose a routing setup. For beginners, select “No” to keep things simple.
This command does:
- Creates a new folder
my-first-app. - Sets up all necessary files and dependencies.
- Configures Angular for you.
Step 3: Navigate into Your Project
Change into your new project directory:
cd my-first-app
You’ll see files like src/app/app.component.ts and package.json.
Step 4: Start Your App
Run the dev server to see your app live in the browser:
ng serve
This starts the development server on http://localhost:4200. Open it in your browser to see a default Angular page.
✅ You’re done! You’ve just created your first Angular app.
Step 5: Customize Your App (Optional)
Let’s tweak it so it feels more real. Open src/app/app.html and replace it with:
<h1>Welcome to My First Angular App!</h1>
<p>This is the first step in <strong>how to create angular app</strong> like you’re doing now.</p>
Code language: HTML, XML (xml)
Now refresh your browser to see the changes.
Why This Works for Beginners
By following these steps, you’ve created a project that:
- Is ready to use immediately.
- Uses clean, modern Angular practices.
- Has a clear structure for future growth.
This is exactly the foundation you need to build more complex apps later.
Next Steps for New Angular Users
Here’s what to do after your first app:
- Add a new component (
ng generate component home) - Learn Angular’s templates and services
- Try integrating a real API (e.g., GitHub)
All of these are easy to do once you have the basics down.
Final Thoughts
If you made it this far, congratulations! You’ve successfully followed how to create angular app in just 15 minutes. Remember: every expert was once a beginner.
The best way to grow with Angular is by building small projects and experimenting. Start small, stay curious, and keep coding!
Ready to build your next project? Try creating a simple calculator app or a to-do list using what you’ve learned here.
P.S. Need help debugging? Check out Angular’s official documentation or ask me in the comments below!
Ready to Take Your Web Skills to the Next Level?
If you enjoyed building this feedback form, imagine what you could do with the right guidance and a step-by-step course tailored just for you!
Discover more from Prime Inspire
Subscribe to get the latest posts sent to your email.



