---
description: Installing Cubed-API is very straight forward
---

# Installing Cubed-API

## 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 %}
