Angular Setup

    Setup

    To start working on the angular application, you have to install npm and Node.js in the machine. Please follow the below-mentioned steps.

    Installing Node.js

    You can download the Node.js installer as per the machine requirements from here: https://nodejs.org/en/download/

    To verify that node.js was installed successfully on your machine or not, you can run the following command in your command prompt and test it:-

    node -v


    Installing npm

    To download the latest version of npm, you can run below-stated command on your command prompt. If npm is already installed on your machine, then it will update it to the latest stable release.

    npm install -g npm

    Verify successful installation: npm -v

    Installing Angular CLI

    To install the latest angular on your machine, use this command.

    npm install -g @angular/cli