This tutorial will help you to install Angular on Fedora 35/34/33 Linux systems. Also, this will help you to create a sample Angular application.

Step 1 – Installing Node.js

First of all, you need to install node.js on your Fedora system. Use the following set of commands to add node.js PPA in your Fedora system and install required packages. Make sure you have successfully installed node.js and NPM on your system

Step 2 – Install Angular on Fedora

After finishing the Node.js installation on your system. Use the following commands to install the Angular CLI module using the npm on your system. jThis will install the latest available Angular CLI version on your system. To install specific Angular version run command as following with version number. Use of the -g option in the above command will install the Angular CLI globally. It will be available to all users and applications on the system. The Angular CLI provides a command ng used for command-line operations. Once the installation is finished, Use the ng command to check the installed version.

Step 3 – Create New Angular Application

Now, create a new application named hello-angular using the Angular CLI tools. Execute the commands to do this: This will create a directory named “hello-angular” in your current directory, and create the application.

Step 4 – Serve Angular Application

The default Angular application is ready to serve. Change to directory hello-angular and run your Angular application using the ng serve command. You can access your angular application on localhost port 4200, Which is the default host and port used by the Angular application.

http://localhost:4200

It also allows to change host and port for running Angular application using –host and –port command line arguments. With the use of host 0.0.0.0 listens on all interfaces. So you can access it from a private network or public network. For the production applications, Use this tutorial to configure Apache as front-end proxy server for Angular application. So it will be accessible to end users on default port.

Conclusion

This tutorial helped you to install the Angular CLI utility on a Fedora Linux system. Additionally provides you instructions to create a sample Angular application and run it.