# Quick Start

**Introduction**

Welcome to the installation guide for setting up your Angular development environmen&#x74;**.** In this guide, we'll walk you through the steps to set up your environment to work with the latest version of Angular and the necessary development tools.

### **Install Nodejs**

* Make sure to have [Node.js](https://nodejs.org/) 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 18. We suggest you to use LTS version of Node.js.

## **Angular CLI:**

Make sure to have the [Angular cli](https://gulpjs.com/) installed & running on your computer. Install it before start with the Angular app

```
npm install --global @angular/cli@latest
```

```
npm uninstall --global @angular/cli
```

```
npm install --global @angular/cli@latest
```

### Git

Make sure to have [Git](https://git-scm.com/) 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 (Light Able /Angular/ ) of the project to run the project locally or build for production use:<br>
* **`Install the Angular local project dependencies by executing following commands:`**<br>

This command will clear your old cached node\_modules.

```
npm clear cache --force
```

This command will install the dependencies in the local node\_modules folder. By default, npm install will install all modules listed as dependencies in package.json.

```
npm install
```

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/.](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.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pcoded.gitbook.io/light-able/angular/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
