# Install tools to compile WebApp

```
> sudo apt install npm
...
> sudo npm install npm@latest -g
...
> sudo npm install -g react-scripts
...
```

Check <https://classic.yarnpkg.com/en/docs/install#debian-stable>, how to install **yarn**.

```
> curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

> sudo apt update && sudo apt install yarn
> sudo yarn add react
...
> sudo yarn upgrade caniuse-lite browserslist
> sudo yarn add react-dom
```


---

# 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://mifos.gitbook.io/docs/how-to-1/configure-azure-instance/install-tools-to-compile-webapp.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.
