In this tutorial, we will show you how to install Angular CLI on Fedora 36
Angular (commonly referred to as “Angular 2+” or “Angular CLI“) is a TypeScript-based free and open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS.
Angular is used as the frontend of the MEAN stack, consisting of MongoDB database, Express.js web application server framework, Angular itself (or AngularJS), and Node.js server runtime environment.
Also read: How to install Angular on Ubuntu
Install Angular on Fedora36
Follow the steps below below to get started with the installation:
- Update Fedora packages as follows:
sudo dnf upgrade -y && sudo dnf update -y
- To install the Angular CLI on Fedora Linux, we need to install the NodeJS, so run the following command to install it.
sudo dnf module install nodejs:16/development
- Verify the installation of Node.js by checking its version as follows:
node -v npm -v
- Now run the following command to install the Angular CLI to your Fedora system:
sudo npm install -g @angular/cli
- Verify Angular CLI installation using the below command:
ng version
- Create new Angular test project on a development server, just run the following:
ng new unixcop-project cd unixcop-project
- Serve the project with:
ng serve
- So now you can access your angular application on localhost port 4200 as shown above in the screenshot:
http://localhost:4200
Conclusion
That’s it
Thanks.