Here all are the steps to install Angular on your PC. Before installing Angular, first we have to install Node.js and npm.
Download Node.js from this link and install it by following the below screenshot. Here .msi is downloaded for Windows.
Step 1: Check Node.js in your machine before you install it. [Optional]
Step 3: Finally, again check the version of Node.js. Do not need to install npm separately.
Node.js and NPM installation is done. Now we are ready to install Angular.
Step 4 : Check the Angular version in your machine by the below command. [Optional]
ng --versionor
ng version
Step 5: Now install Angular. Open the command prompt and install by below command.
npm install -g @angular/cli
Installation is done. 😀
Step 7: Now create a workspace, go to that directory, and run the project by the below three commands.
ng new my-project --no--strict --standalone false --routing false
Go to the new project directory
cd my-app
And run the project -
ng serve
Open http://localhost:4200/ url in browser.
Workspace creation is Done. Now we are ready to open this project in our suitable IDE.
Step 8: Now open the project in Visual Studio Code.
Please keep eye 👀 on the next tutorial - 3
0 Comments