How To Install Angular CLI on Fedora 36

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

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
Install 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.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
MQ-Jr
MQ-Jr
unixcop Admin

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook