


Let’s check the installed version of ng on your system. Angular CLI provides a command ng used for command-line operations. So it will be accessible to all users and applications on the system. Using the -g above command will install the Angular CLI tool globally. npm install -g 10 #Angular 10 npm install -g 11 #Angular 11 npm install -g 12 #Angular 12 To install specific Angular version run command as following with version number. You may require older Angular version on your machine. npm install -g latest version of Angular CLI will be installed on your Ubuntu Linux system. Make sure you have successfully installed node.js and NPM on your system node -version npm -version Step 2 – Install Angular/CLIĪfter installation of node.js and npm on your system, use following commands to install Angular cli tool on your system. sudo apt install python-software-properties curl -sL | sudo -E bash - sudo apt install nodejs If you don’t have node.js installed use the following set of commands to add node.js PPA in your Ubuntu system and install it. Reference: Serve Node.js Application behind the Apache Server Step 1 – Install Node.jsįirst of all, you need to install node.js on your system.
