# Installation

## Installing Node

Before triggering Elixir, you must first ensure that [Node.js](https://nodejs.org/en/) is installed on your machine. You will want at least the latest LTS version of Node.

```
node -v
```

## Installing ColdBox Elixir

If you generate a ColdBox application using any of our [elixir templates](https://github.com/coldbox-templates/) then you will find a `package.json` file in the root of the application already. Think of this like your `box.json` file, except it defines Node dependencies instead of ColdFusion (CFML) dependencies. A typical example can look like this:

```js
{
  "private": true,
  "devDependencies": {
    "coldbox-elixir": "^4.0.1"
  }
}
```

It defines ColdBox Elixir as a dev dependency. You may then install the dependencies it references by running:

```
npm install
```

This will install ColdBox Elixir and its dependencies into the `node_modules` folder in your root. This folder has been already added to the `.gitignore` file as well, so no need to further ignore it.


---

# 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://coldbox-elixir.ortusbooks.com/master-3/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.
