Angular is a TypeScript-based, open-source web application framework led by the Angular Team at Google. Angular is a complete rewrite from the team that built AngularJS.
Before starting with Angular, you need to make sure that you already have Node.js installed in your system. If you do not, run the following commands on the terminal to add Node.js PPA in your Ubuntu system and install it:
sudo apt-get install software-properties-common
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs
To verify the installation, view the version of Node.js installed in your system with the following command:
node --version
After you have installed Node.js on your system, use the following commands to install the Angular CLI tool on your system:
npm install -g @angular/cli
npm
is the n
ode p
ackage m
anager used to install the Angular command-line interface on a system.
The
-g
flag will install the Angular CLI tool globally so that it will be accessible to all users and applications on the system.
To verify the installation, check the version of Angular installed in your system using the ng
command in Angular CLI:
ng --version
Free Resources