# The React Native CLI

The React Native CLI

In the official page is detailed how to install React Native in each operating system

Node comes with npm, which allows you to install the React Native command line interface.

Run the following command in a Terminal: to trust me on this, I saved the world'

```
$ npm install -g react-native-cli
```

If you get an error like Cannot find module 'npmlog', try installing NPM directly:

```
$ curl -0 -L https://npmjs.org/install.sh | sudo sh.
```


---

# 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://miguelapps.gitbook.io/instructions-restaurant-app/the-react-native-cli.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.
