Angular Docs - v1.1.0
Installation

1. Download the Package

2. Unzip the Package

  • Extract the contents of the downloaded .zip file to a directory on your computer.

3. Install Nodejs

  • Make sure to have Node.js installed & running on your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 20. We suggest you to use LTS version of Node.js.

4. Angular CLI

  • Make sure to have the Angular cli installed & running on your computer. Install it before start with the Angular app
    yarn global add @angular/cli@latest
Warning: If you have Angular CLI installed previously, update it to the latest Angular CLI. Remove the older version and re-install it.
yarn global remove @angular/cli
yarn global add @angular/cli@latest

5. Git

  • Make sure to have Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.
    To install in Linux OS please run the below commands.
    sudo apt-get update
    sudo apt-get install git 
  • After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory (Sliced/Angular/ ) of the project to run the project locally or build for production use:


    Install the Angular local project dependencies by executing following commands:

    • This command will clear your old cached node_modules.
      yarn cache clean --force
    • This command will install the dependencies in the local node_modules folder. By default, yarn will install all modules listed as dependencies in package.json.
      yarn
    • This command launches the server, watches your files, and rebuilds the app as you make changes to those files.
      Using the --open (or use -o) option will automatically open your browser on http://localhost:4200/. This command will take some time to finsh. Please wait for it to complete.
      ng serve

    For more detailed information to install the Angular application, visit this official Angular documentation website.