# Installation

> To support [the experimental TTY-mode](https://github.com/targets-framework/targets/tree/3d19df5e616be2170b2de5e4c411248381dfaa31/docs/usage/TTY_Mode.md) (currently in active development), targets has a subdependency on [node-pty](https://www.npmjs.com/package/node-pty). node-pty uses some recently deprecated native C++ syntax and as a result you might see a few warnings during installation. You can safely disregard these messages—they are just warnings, not errors. A PR for node-pty is in the works.

## npm install

To add targets as a dependency to your project, simply run `npm i targets`.


---

# 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://targets.gitbook.io/docs/reference/installation.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.
