# Getting started

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Install [Node.js](https://nodejs.org/en/download/) (version 10 or higher) if it is not already installed on your machine

### Install NodPI CLI <a href="#install-loopback-4-cli" id="install-loopback-4-cli"></a>

The NodPI is a command-line interface that scaffolds a project or an extension by generating the basic code. The CLI provides the fastest way to get started with a Node API project that adheres to best practices.

Install the CLI globally by running

```
npm i -g nodpi
```


---

# 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://node-api.gitbook.io/nodpi/getting-started.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.
