> For the complete documentation index, see [llms.txt](https://pondwadermc.gitbook.io/cubed-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pondwadermc.gitbook.io/cubed-api/tutorials-and-guides/installing-cubed-api.md).

# Installing Cubed-API

Installing Cubed-API is very straight forward

## Installation

{% hint style="info" %}
It is recommended you have some experience with Node.js and JavaScript before using Cubed-API.
{% endhint %}

Make sure you are in the folder of your project and that you have initialized NPM. If you haven't already done this, type the following command then follow the prompts:

```
$ npm init
```

Now that you have NPM initialized type the following command to install Cubed-API:

```
$ npm i cubed-api
```

If you didn't get any errors Cubed-API should now be installed.

{% hint style="info" %}
Once you have written your code you can run it by typing the command "node ." in the codes directory.
{% endhint %}
